#CB7EE2#CB7EE2
#CB7EE2 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.161 H 318.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EE2 |
|---|---|
| RGB | rgb(203, 126, 226) |
| HSL | hsl(286, 63%, 69%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.2%, 44.2%, 0%, 11.4%) |
| CIE-LAB | lab(64.25, 46.13, -38.98) |
| CIE-LCH | lch(64.25, 60.39, 319.80°) |
| OKLab | oklab(71.07% 0.1202 -0.1077) |
| OKLCH | oklch(71.07% 0.161 318.1) |
| XYZ | xyz(45.8150, 33.1107, 75.9144) |
| Luminance | 0.3311 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.73
Light Purple
#BF77F6
ΔE00 5.28
Lavender Pink
#DD85D7
ΔE00 5.48
Orchid (survey)
#C875C4
ΔE00 5.65
Violet (CSS)
#EE82EE
ΔE00 6.05
Liliac
#C48EFD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EE2 #95E27E
analogous
#997EE2 #CB7EE2 #E27EC7
triadic
#CB7EE2 #E2CB7E #7EE2CB
tetradic
#CB7EE2 #E2997E #95E27E #7EC7E2
square
#CB7EE2 #E2997E #95E27E #7EC7E2
split-complementary
#CB7EE2 #C7E27E #7EE299
monochromatic
#9A2ABB #B74CD7 #CB7EE2 #DFB0ED #F3E2F8
Accessibility & contrast
On white
2.76
#CB7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#CB7EE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EE2
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EE2 | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#839EDF
Tritanopia (blue-blind)
#CB8BA5
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb7ee2; /* rgb */ color: rgb(203, 126, 226); /* oklch */ color: oklch(71.1% 0.161 318.1);
Tailwind
colors: {
custom: {
50: '#dca5eb',
500: '#cb7ee2',
950: '#000000',
},
}SCSS
$custom: #cb7ee2; $custom-light: #dca5eb; $custom-dark: #000000;
JSON
{
"hex": "#cb7ee2",
"rgb": {
"r": 203,
"g": 126,
"b": 226
},
"hsl": {
"h": 286.2,
"s": 63.291,
"l": 69.02
},
"oklch": {
"l": 0.7107,
"c": 0.16134,
"h": 318.1
},
"luminance": 0.33109
}Semantic roles & 50–950 ramp
primary
#CB7EE2
secondary
#D6EDCF
accent
#CB1A43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84