HSL(287, 50%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 50%, 70%) | color: hsl(287, 50%, 70%) | |
| HEX | #C88CD9 | color: #C88CD9 | |
| RGB | rgb(200, 140, 217) | color: rgb(200, 140, 217) | |
| CMYK | cmyk(8%, 35%, 0%, 15%) | — | |
| HSV | hsv(287, 35%, 85%) | — | |
| HWB | hwb(287 55% 15%) | color: hwb(287 55% 15%) | |
| OKLCH | oklch(0.7261 0.1261 318.62) | color: oklch(0.7261 0.1261 318.62) | |
| Lab | lab(66.56 35.92 -30.43) | color: lab(66.56 35.92 -30.43) | |
| LCH | lch(66.56 47.08 319.73) | color: lch(66.56 47.08 319.73) |
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)
#AEADC6 — rgb(174, 173, 198)
Deuteranopia (Green-blind)
#B2B6C2 — rgb(178, 182, 194)
Tritanopia (Blue-blind)
#C5B8B4 — rgb(197, 184, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 50%, 70%);
text
color: hsl(287, 50%, 70%);
border
border: 2px solid hsl(287, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(287, 50%, 90%), hsl(287, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(287, 50%, 70%), hsl(287, 50%, 50%))
hex
background-color: #C88CD9;
tailwind
bg-[hsl(287,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 50%, 70%, 0.4);
css variable
--color-primary: hsl(287, 50%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 50%, 70%)?
HEX: #C88CD9 | RGB: rgb(200, 140, 217) | CMYK: 8%, 35%, 0%, 15% | HSV: 287°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #C88CD9?
The complementary color is HSL(107, 50%, 70%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 50%, 70%) in CSS?
As HSL: color: hsl(287, 50%, 70%); — As HEX: color: #C88CD9; — As RGB: color: rgb(200, 140, 217); — Tailwind CSS: bg-[hsl(287,50%,70%)] — CSS variable: --color-primary: hsl(287, 50%, 70%);