#CB89F2#CB89F2
#CB89F2 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.6% C 0.161 H 311.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CB89F2 |
|---|---|
| RGB | rgb(203, 137, 242) |
| HSL | hsl(278, 80%, 74%) |
| HSV | hsv(278, 43%, 95%) |
| CMYK | cmyk(16.1%, 43.4%, 0%, 5.1%) |
| CIE-LAB | lab(67.28, 43.59, -43.08) |
| CIE-LCH | lch(67.28, 61.29, 315.34°) |
| OKLab | oklab(73.57% 0.1074 -0.1196) |
| OKLCH | oklch(73.57% 0.161 311.9) |
| XYZ | xyz(49.5985, 36.9996, 88.5160) |
| Luminance | 0.3700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.97
Baby Purple
#CA9BF7
ΔE00 4.56
Light Purple
#BF77F6
ΔE00 5.14
Pastel Purple
#CAA0FF
ΔE00 5.98
Lavender (survey)
#C79FEF
ΔE00 6.09
Lilac (survey)
#CEA2FD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB89F2 #B0F289
analogous
#9789F2 #CB89F2 #F289E5
triadic
#CB89F2 #F2CB89 #89F2CB
tetradic
#CB89F2 #F29789 #B0F289 #89E5F2
square
#CB89F2 #F29789 #B0F289 #89E5F2
split-complementary
#CB89F2 #E5F289 #89F297
monochromatic
#9A1BE6 #B352EC #CB89F2 #E3C0F8 #F3E3FC
Accessibility & contrast
On white
2.50
#CB89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#CB89F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB89F2
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB89F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB89F2 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#C799B2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cb89f2; /* rgb */ color: rgb(203, 137, 242); /* oklch */ color: oklch(73.6% 0.161 311.9);
Tailwind
colors: {
custom: {
50: '#dcadf7',
500: '#cb89f2',
950: '#000000',
},
}SCSS
$custom: #cb89f2; $custom-light: #dcadf7; $custom-dark: #000000;
JSON
{
"hex": "#cb89f2",
"rgb": {
"r": 203,
"g": 137,
"b": 242
},
"hsl": {
"h": 277.714,
"s": 80.153,
"l": 74.314
},
"oklch": {
"l": 0.73568,
"c": 0.16072,
"h": 311.9
},
"luminance": 0.36999
}Semantic roles & 50–950 ramp
primary
#CB89F2
secondary
#E2F4D7
accent
#DC0958
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85