#CC8FDA#CC8FDA
#CC8FDA is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.124 H 320.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CC8FDA |
|---|---|
| RGB | rgb(204, 143, 218) |
| HSL | hsl(289, 50%, 71%) |
| HSV | hsv(289, 34%, 85%) |
| CMYK | cmyk(6.4%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(67.68, 35.74, -29.20) |
| CIE-LCH | lch(67.68, 46.15, 320.74°) |
| OKLab | oklab(73.57% 0.095 -0.0798) |
| OKLCH | oklch(73.57% 0.124 320) |
| XYZ | xyz(47.3776, 37.5456, 71.0674) |
| Luminance | 0.3754 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.31
Pale Purple
#B790D4
ΔE00 4.42
Plum
#DDA0DD
ΔE00 5.48
Lavender (survey)
#C79FEF
ΔE00 5.88
Baby Purple
#CA9BF7
ΔE00 6.13
Violet (CSS)
#EE82EE
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC8FDA #9DDA8F
analogous
#A68FDA #CC8FDA #DA8FC2
triadic
#CC8FDA #DACC8F #8FDACC
tetradic
#CC8FDA #DAA68F #9DDA8F #8FC2DA
square
#CC8FDA #DAA68F #9DDA8F #8FC2DA
split-complementary
#CC8FDA #C2DA8F #8FDAA6
monochromatic
#9D3BB3 #B761CB #CC8FDA #E1BDE9 #F5E8F7
Accessibility & contrast
On white
2.47
#CC8FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#CC8FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC8FDA
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC8FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC8FDA | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86A1DD
Deuteranopia (green-blind)
#95A7D8
Tritanopia (blue-blind)
#CD98AB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #cc8fda; /* rgb */ color: rgb(204, 143, 218); /* oklch */ color: oklch(73.6% 0.124 320.0);
Tailwind
colors: {
custom: {
50: '#dcb0e5',
500: '#cc8fda',
950: '#000000',
},
}SCSS
$custom: #cc8fda; $custom-light: #dcb0e5; $custom-dark: #000000;
JSON
{
"hex": "#cc8fda",
"rgb": {
"r": 204,
"g": 143,
"b": 218
},
"hsl": {
"h": 288.8,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.73569,
"c": 0.12412,
"h": 320
},
"luminance": 0.37544
}Semantic roles & 50–950 ramp
primary
#CC8FDA
secondary
#DCECD8
accent
#BE2844
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84