#CC96F8#CC96F8
#CC96F8 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.1% C 0.147 H 308.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CC96F8 |
|---|---|
| RGB | rgb(204, 150, 248) |
| HSL | hsl(273, 88%, 78%) |
| HSV | hsv(273, 40%, 97%) |
| CMYK | cmyk(17.7%, 39.5%, 0%, 2.7%) |
| CIE-LAB | lab(70.47, 38.16, -41.35) |
| CIE-LCH | lch(70.47, 56.26, 312.70°) |
| OKLab | oklab(76.08% 0.0915 -0.1146) |
| OKLCH | oklch(76.08% 0.147 308.6) |
| XYZ | xyz(52.7483, 41.4280, 94.0063) |
| Luminance | 0.4143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.46
Pastel Purple
#CAA0FF
ΔE00 2.86
Liliac
#C48EFD
ΔE00 2.94
Lilac (survey)
#CEA2FD
ΔE00 2.99
Lavender (survey)
#C79FEF
ΔE00 3.40
Pale Violet
#CEAEFA
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC96F8 #C2F896
analogous
#9B96F8 #CC96F8 #F896F3
triadic
#CC96F8 #F8CC96 #96F8CC
tetradic
#CC96F8 #F89B96 #C2F896 #96F3F8
square
#CC96F8 #F89B96 #C2F896 #96F3F8
split-complementary
#CC96F8 #F3F896 #96F89B
monochromatic
#9423F0 #B05DF4 #CC96F8 #E8CFFC #F1E2FD
Accessibility & contrast
On white
2.26
#CC96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#CC96F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC96F8
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC96F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC96F8 | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#C6A5BB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cc96f8; /* rgb */ color: rgb(204, 150, 248); /* oklch */ color: oklch(76.1% 0.147 308.6);
Tailwind
colors: {
custom: {
50: '#ddb5fb',
500: '#cc96f8',
950: '#000000',
},
}SCSS
$custom: #cc96f8; $custom-light: #ddb5fb; $custom-dark: #000000;
JSON
{
"hex": "#cc96f8",
"rgb": {
"r": 204,
"g": 150,
"b": 248
},
"hsl": {
"h": 273.061,
"s": 87.5,
"l": 78.039
},
"oklch": {
"l": 0.76084,
"c": 0.14666,
"h": 308.6
},
"luminance": 0.41427
}Semantic roles & 50–950 ramp
primary
#CC96F8
secondary
#E4F5D6
accent
#E40167
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085