#CB7EE3#CB7EE3
#CB7EE3 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.162 H 317.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EE3 |
|---|---|
| RGB | rgb(203, 126, 227) |
| HSL | hsl(286, 64%, 69%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.6%, 44.5%, 0%, 11%) |
| CIE-LAB | lab(64.29, 46.33, -39.47) |
| CIE-LCH | lch(64.29, 60.86, 319.57°) |
| OKLab | oklab(71.12% 0.1203 -0.1091) |
| OKLCH | oklch(71.12% 0.162 317.8) |
| XYZ | xyz(45.9527, 33.1657, 76.6391) |
| Luminance | 0.3316 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.84
Light Purple
#BF77F6
ΔE00 5.12
Lavender Pink
#DD85D7
ΔE00 5.62
Orchid (survey)
#C875C4
ΔE00 5.82
Violet (CSS)
#EE82EE
ΔE00 6.07
Liliac
#C48EFD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EE3 #96E37E
analogous
#997EE3 #CB7EE3 #E37EC8
triadic
#CB7EE3 #E3CB7E #7EE3CB
tetradic
#CB7EE3 #E3997E #96E37E #7EC8E3
square
#CB7EE3 #E3997E #96E37E #7EC8E3
split-complementary
#CB7EE3 #C8E37E #7EE399
monochromatic
#9A29BD #B74CD8 #CB7EE3 #DFB0EE #F4E3F9
Accessibility & contrast
On white
2.75
#CB7EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#CB7EE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EE3
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EE3 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#CB8CA6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb7ee3; /* rgb */ color: rgb(203, 126, 227); /* oklch */ color: oklch(71.1% 0.162 317.8);
Tailwind
colors: {
custom: {
50: '#dca5ec',
500: '#cb7ee3',
950: '#000000',
},
}SCSS
$custom: #cb7ee3; $custom-light: #dca5ec; $custom-dark: #000000;
JSON
{
"hex": "#cb7ee3",
"rgb": {
"r": 203,
"g": 126,
"b": 227
},
"hsl": {
"h": 285.743,
"s": 64.331,
"l": 69.216
},
"oklch": {
"l": 0.71118,
"c": 0.1624,
"h": 317.8
},
"luminance": 0.33164
}Semantic roles & 50–950 ramp
primary
#CB7EE3
secondary
#D7EDD0
accent
#CC1944
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84