#C896F2#C896F2
#C896F2 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.138 H 308.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C896F2 |
|---|---|
| RGB | rgb(200, 150, 242) |
| HSL | hsl(273, 78%, 77%) |
| HSV | hsv(273, 38%, 95%) |
| CMYK | cmyk(17.4%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(69.83, 35.69, -39.11) |
| CIE-LCH | lch(69.83, 52.95, 312.38°) |
| OKLab | oklab(75.42% 0.0857 -0.1083) |
| OKLCH | oklch(75.42% 0.138 308.4) |
| XYZ | xyz(50.7498, 40.5034, 89.1316) |
| Luminance | 0.4050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.34
Lavender (survey)
#C79FEF
ΔE00 2.73
Pastel Purple
#CAA0FF
ΔE00 3.03
Lilac (survey)
#CEA2FD
ΔE00 3.09
Liliac
#C48EFD
ΔE00 3.35
Pale Purple
#B790D4
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C896F2 #C0F296
analogous
#9A96F2 #C896F2 #F296EE
triadic
#C896F2 #F2C896 #96F2C8
tetradic
#C896F2 #F29A96 #C0F296 #96EEF2
square
#C896F2 #F29A96 #C0F296 #96EEF2
split-complementary
#C896F2 #EEF296 #96F29A
monochromatic
#8F29E5 #AB60EB #C896F2 #E5CCF9 #F1E4FC
Accessibility & contrast
On white
2.31
#C896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C896F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C896F2
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C896F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C896F2 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#C3A4B9
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c896f2; /* rgb */ color: rgb(200, 150, 242); /* oklch */ color: oklch(75.4% 0.138 308.4);
Tailwind
colors: {
custom: {
50: '#dab5f6',
500: '#c896f2',
950: '#000000',
},
}SCSS
$custom: #c896f2; $custom-light: #dab5f6; $custom-dark: #000000;
JSON
{
"hex": "#c896f2",
"rgb": {
"r": 200,
"g": 150,
"b": 242
},
"hsl": {
"h": 272.609,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.75419,
"c": 0.13808,
"h": 308.4
},
"luminance": 0.40503
}Semantic roles & 50–950 ramp
primary
#C896F2
secondary
#E4F3D8
accent
#DA0B6A
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085