#CB7EF9#CB7EF9
#CB7EF9 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.186 H 311.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF9 |
|---|---|
| RGB | rgb(203, 126, 249) |
| HSL | hsl(278, 91%, 74%) |
| HSV | hsv(278, 49%, 98%) |
| CMYK | cmyk(18.5%, 49.4%, 0%, 2.4%) |
| CIE-LAB | lab(65.33, 50.88, -49.99) |
| CIE-LCH | lch(65.33, 71.33, 315.50°) |
| OKLab | oklab(72.22% 0.1233 -0.1395) |
| OKLCH | oklch(72.22% 0.186 311.5) |
| XYZ | xyz(49.1853, 34.4588, 93.6643) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.73
Easter Purple
#C071FE
ΔE00 3.90
Liliac
#C48EFD
ΔE00 4.14
Light Urple
#B36FF6
ΔE00 5.73
Bright Lavender
#C760FF
ΔE00 6.39
Bright Lilac
#C95EFB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF9 #ACF97E
analogous
#8D7EF9 #CB7EF9 #F97EE9
triadic
#CB7EF9 #F9CB7E #7EF9CB
tetradic
#CB7EF9 #F98D7E #ACF97E #7EE9F9
square
#CB7EF9 #F98D7E #ACF97E #7EE9F9
split-complementary
#CB7EF9 #E9F97E #7EF98D
monochromatic
#9B0BF1 #B344F6 #CB7EF9 #E3B8FC #F3E2FE
Accessibility & contrast
On white
2.66
#CB7EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#CB7EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF9
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF9 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#C692B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cb7ef9; /* rgb */ color: rgb(203, 126, 249); /* oklch */ color: oklch(72.2% 0.186 311.5);
Tailwind
colors: {
custom: {
50: '#dda5fc',
500: '#cb7ef9',
950: '#000000',
},
}SCSS
$custom: #cb7ef9; $custom-light: #dda5fc; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef9",
"rgb": {
"r": 203,
"g": 126,
"b": 249
},
"hsl": {
"h": 277.561,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.72221,
"c": 0.18622,
"h": 311.5
},
"luminance": 0.34458
}Semantic roles & 50–950 ramp
primary
#CB7EF9
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85