HSL(285, 62%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,62%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 62%, 65%) | color: hsl(285, 62%, 65%) | |
| HEX | #C16EDD | color: #C16EDD | |
| RGB | rgb(193, 110, 221) | color: rgb(193, 110, 221) | |
| CMYK | cmyk(13%, 50%, 0%, 13%) | — | |
| HSV | hsv(285, 50%, 87%) | — | |
| HWB | hwb(285 44% 13%) | color: hwb(285 44% 13%) | |
| OKLCH | oklch(0.673 0.1775 317.04) | color: oklch(0.673 0.1775 317.04) | |
| Lab | lab(59.63 50.63 -43.53) | color: lab(59.63 50.63 -43.53) | |
| LCH | lch(59.63 66.77 319.31) | color: lch(59.63 66.77 319.31) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#9D9CC2 — rgb(157, 156, 194)
Deuteranopia (Green-blind)
#A2A8BC — rgb(162, 168, 188)
Tritanopia (Blue-blind)
#BDADA8 — rgb(189, 173, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 62%, 65%);
text
color: hsl(285, 62%, 65%);
border
border: 2px solid hsl(285, 62%, 65%);
gradient light
background: linear-gradient(to right, hsl(285, 62%, 85%), hsl(285, 62%, 65%));
gradient dark
background: linear-gradient(to right, hsl(285, 62%, 65%), hsl(285, 62%, 45%))
hex
background-color: #C16EDD;
tailwind
bg-[hsl(285,62%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 62%, 65%, 0.4);
css variable
--color-primary: hsl(285, 62%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 62%, 65%)?
HEX: #C16EDD | RGB: rgb(193, 110, 221) | CMYK: 13%, 50%, 0%, 13% | HSV: 285°, 50%, 87%. Copy any format from the conversion table above.
What colors go well with #C16EDD?
The complementary color is HSL(105, 62%, 65%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 62%, 65%) in CSS?
As HSL: color: hsl(285, 62%, 65%); — As HEX: color: #C16EDD; — As RGB: color: rgb(193, 110, 221); — Tailwind CSS: bg-[hsl(285,62%,65%)] — CSS variable: --color-primary: hsl(285, 62%, 65%);