#CB7EEF#CB7EEF
#CB7EEF is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.175 H 314.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EEF |
|---|---|
| RGB | rgb(203, 126, 239) |
| HSL | hsl(281, 78%, 72%) |
| HSV | hsv(281, 47%, 94%) |
| CMYK | cmyk(15.1%, 47.3%, 0%, 6.3%) |
| CIE-LAB | lab(64.84, 48.78, -45.25) |
| CIE-LCH | lch(64.84, 66.54, 317.15°) |
| OKLab | oklab(71.71% 0.1221 -0.1258) |
| OKLCH | oklch(71.71% 0.175 314.2) |
| XYZ | xyz(47.6669, 33.8514, 85.6676) |
| Luminance | 0.3385 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.47
Liliac
#C48EFD
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 4.87
Orchid
#DA70D6
ΔE00 6.34
Light Urple
#B36FF6
ΔE00 6.37
Violet (CSS)
#EE82EE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EEF #A2EF7E
analogous
#937EEF #CB7EEF #EF7EDB
triadic
#CB7EEF #EFCB7E #7EEFCB
tetradic
#CB7EEF #EF937E #A2EF7E #7EDBEF
square
#CB7EEF #EF937E #A2EF7E #7EDBEF
split-complementary
#CB7EEF #DBEF7E #7EEF93
monochromatic
#9C1BD8 #B548E8 #CB7EEF #E1B4F6 #F4E4FC
Accessibility & contrast
On white
2.70
#CB7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CB7EEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EEF
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EEF | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#C88FAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7eef; /* rgb */ color: rgb(203, 126, 239); /* oklch */ color: oklch(71.7% 0.175 314.2);
Tailwind
colors: {
custom: {
50: '#dda5f4',
500: '#cb7eef',
950: '#000000',
},
}SCSS
$custom: #cb7eef; $custom-light: #dda5f4; $custom-dark: #000000;
JSON
{
"hex": "#cb7eef",
"rgb": {
"r": 203,
"g": 126,
"b": 239
},
"hsl": {
"h": 280.885,
"s": 77.931,
"l": 71.569
},
"oklch": {
"l": 0.71707,
"c": 0.1753,
"h": 314.2
},
"luminance": 0.3385
}Semantic roles & 50–950 ramp
primary
#CB7EEF
secondary
#DFF3D6
accent
#DA0B4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85