#CC8CFD#CC8CFD
#CC8CFD is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.169 H 309.0°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CC8CFD |
|---|---|
| RGB | rgb(204, 140, 253) |
| HSL | hsl(274, 97%, 77%) |
| HSV | hsv(274, 45%, 99%) |
| CMYK | cmyk(19.4%, 44.7%, 0%, 0.8%) |
| CIE-LAB | lab(68.52, 44.63, -47.13) |
| CIE-LCH | lch(68.52, 64.91, 313.44°) |
| OKLab | oklab(74.69% 0.1062 -0.1313) |
| OKLCH | oklch(74.69% 0.169 309) |
| XYZ | xyz(52.0062, 38.6861, 97.6369) |
| Luminance | 0.3869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.69
Baby Purple
#CA9BF7
ΔE00 4.15
Pastel Purple
#CAA0FF
ΔE00 5.10
Light Purple
#BF77F6
ΔE00 5.38
Lilac (survey)
#CEA2FD
ΔE00 5.54
Lavender (survey)
#C79FEF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC8CFD #BDFD8C
analogous
#948CFD #CC8CFD #FD8CF6
triadic
#CC8CFD #FDCC8C #8CFDCC
tetradic
#CC8CFD #FD948C #BDFD8C #8CF6FD
square
#CC8CFD #FD948C #BDFD8C #8CF6FD
split-complementary
#CC8CFD #F6FD8C #8CFD94
monochromatic
#9714FB #B150FC #CC8CFD #E7C8FE #F2E1FE
Accessibility & contrast
On white
2.40
#CC8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#CC8CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC8CFD
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC8CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC8CFD | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#C69EB9
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cc8cfd; /* rgb */ color: rgb(204, 140, 253); /* oklch */ color: oklch(74.7% 0.169 309.0);
Tailwind
colors: {
custom: {
50: '#ddaffe',
500: '#cc8cfd',
950: '#000000',
},
}SCSS
$custom: #cc8cfd; $custom-light: #ddaffe; $custom-dark: #000000;
JSON
{
"hex": "#cc8cfd",
"rgb": {
"r": 204,
"g": 140,
"b": 253
},
"hsl": {
"h": 273.982,
"s": 96.581,
"l": 77.059
},
"oklch": {
"l": 0.7469,
"c": 0.16883,
"h": 309
},
"luminance": 0.38685
}Semantic roles & 50–950 ramp
primary
#CC8CFD
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86