#CB7DF6#CB7DF6
#CB7DF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.185 H 312.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7DF6 |
|---|---|
| RGB | rgb(203, 125, 246) |
| HSL | hsl(279, 87%, 73%) |
| HSV | hsv(279, 49%, 96%) |
| CMYK | cmyk(17.5%, 49.2%, 0%, 3.5%) |
| CIE-LAB | lab(64.98, 50.77, -48.90) |
| CIE-LCH | lch(64.98, 70.48, 316.08°) |
| OKLab | oklab(71.91% 0.1243 -0.1363) |
| OKLCH | oklch(71.91% 0.185 312.4) |
| XYZ | xyz(48.5939, 34.0186, 91.1773) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.73
Easter Purple
#C071FE
ΔE00 3.97
Liliac
#C48EFD
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 5.73
Bright Lavender
#C760FF
ΔE00 6.30
Bright Lilac
#C95EFB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7DF6 #A8F67D
analogous
#8F7DF6 #CB7DF6 #F67DE4
triadic
#CB7DF6 #F6CB7D #7DF6CB
tetradic
#CB7DF6 #F68F7D #A8F67D #7DE4F6
square
#CB7DF6 #F68F7D #A8F67D #7DE4F6
split-complementary
#CB7DF6 #E4F67D #7DF68F
monochromatic
#9C10E9 #B444F2 #CB7DF6 #E2B6FA #F4E2FD
Accessibility & contrast
On white
2.69
#CB7DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#CB7DF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7DF6
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7DF6 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609AFA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C790AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7df6; /* rgb */ color: rgb(203, 125, 246); /* oklch */ color: oklch(71.9% 0.185 312.4);
Tailwind
colors: {
custom: {
50: '#dda5f9',
500: '#cb7df6',
950: '#000000',
},
}SCSS
$custom: #cb7df6; $custom-light: #dda5f9; $custom-dark: #000000;
JSON
{
"hex": "#cb7df6",
"rgb": {
"r": 203,
"g": 125,
"b": 246
},
"hsl": {
"h": 278.678,
"s": 87.05,
"l": 72.745
},
"oklch": {
"l": 0.71915,
"c": 0.18451,
"h": 312.4
},
"luminance": 0.34018
}Semantic roles & 50–950 ramp
primary
#CB7DF6
secondary
#E1F5D6
accent
#E40252
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85