HSL(289, 55%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,55%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 55%, 71%) | color: hsl(289, 55%, 71%) | |
| HEX | #CF8CDE | color: #CF8CDE | |
| RGB | rgb(207, 140, 222) | color: rgb(207, 140, 222) | |
| CMYK | cmyk(7%, 37%, 0%, 13%) | — | |
| HSV | hsv(289, 37%, 87%) | — | |
| HWB | hwb(289 55% 13%) | color: hwb(289 55% 13%) | |
| OKLCH | oklch(0.7355 0.1353 320.11) | color: oklch(0.7355 0.1353 320.11) | |
| Lab | lab(67.5 39.07 -31.68) | color: lab(67.5 39.07 -31.68) | |
| LCH | lch(67.5 50.3 320.96) | color: lch(67.5 50.3 320.96) |
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)
#B2B1CA — rgb(178, 177, 202)
Deuteranopia (Green-blind)
#B6BBC5 — rgb(182, 187, 197)
Tritanopia (Blue-blind)
#CCBAB7 — rgb(204, 186, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 55%, 71%);
text
color: hsl(289, 55%, 71%);
border
border: 2px solid hsl(289, 55%, 71%);
gradient light
background: linear-gradient(to right, hsl(289, 55%, 91%), hsl(289, 55%, 71%));
gradient dark
background: linear-gradient(to right, hsl(289, 55%, 71%), hsl(289, 55%, 51%))
hex
background-color: #CF8CDE;
tailwind
bg-[hsl(289,55%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 55%, 71%, 0.4);
css variable
--color-primary: hsl(289, 55%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 55%, 71%)?
HEX: #CF8CDE | RGB: rgb(207, 140, 222) | CMYK: 7%, 37%, 0%, 13% | HSV: 289°, 37%, 87%. Copy any format from the conversion table above.
What colors go well with #CF8CDE?
The complementary color is HSL(109, 55%, 71%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(289, 55%, 71%) in CSS?
As HSL: color: hsl(289, 55%, 71%); — As HEX: color: #CF8CDE; — As RGB: color: rgb(207, 140, 222); — Tailwind CSS: bg-[hsl(289,55%,71%)] — CSS variable: --color-primary: hsl(289, 55%, 71%);