#CB7EF6#CB7EF6
#CB7EF6 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.183 H 312.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EF6 |
|---|---|
| RGB | rgb(203, 126, 246) |
| HSL | hsl(279, 87%, 73%) |
| HSV | hsv(279, 49%, 96%) |
| CMYK | cmyk(17.5%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(65.18, 50.25, -48.58) |
| CIE-LCH | lch(65.18, 69.89, 315.97°) |
| OKLab | oklab(72.07% 0.123 -0.1354) |
| OKLCH | oklch(72.07% 0.183 312.2) |
| XYZ | xyz(48.7211, 34.2731, 91.2197) |
| Luminance | 0.3427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.86
Easter Purple
#C071FE
ΔE00 4.14
Liliac
#C48EFD
ΔE00 4.27
Light Urple
#B36FF6
ΔE00 5.87
Bright Lavender
#C760FF
ΔE00 6.52
Bright Lilac
#C95EFB
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EF6 #A9F67E
analogous
#8F7EF6 #CB7EF6 #F67EE5
triadic
#CB7EF6 #F6CB7E #7EF6CB
tetradic
#CB7EF6 #F68F7E #A9F67E #7EE5F6
square
#CB7EF6 #F68F7E #A9F67E #7EE5F6
split-complementary
#CB7EF6 #E5F67E #7EF68F
monochromatic
#9C10E9 #B445F2 #CB7EF6 #E2B7FA #F3E2FD
Accessibility & contrast
On white
2.67
#CB7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#CB7EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EF6
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EF6 | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C791AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7ef6; /* rgb */ color: rgb(203, 126, 246); /* oklch */ color: oklch(72.1% 0.183 312.2);
Tailwind
colors: {
custom: {
50: '#dda5f9',
500: '#cb7ef6',
950: '#000000',
},
}SCSS
$custom: #cb7ef6; $custom-light: #dda5f9; $custom-dark: #000000;
JSON
{
"hex": "#cb7ef6",
"rgb": {
"r": 203,
"g": 126,
"b": 246
},
"hsl": {
"h": 278.5,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.72065,
"c": 0.18294,
"h": 312.2
},
"luminance": 0.34272
}Semantic roles & 50–950 ramp
primary
#CB7EF6
secondary
#E1F5D6
accent
#E40253
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85