#CB7BF6#CB7BF6
#CB7BF6 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.6% C 0.188 H 312.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7BF6 |
|---|---|
| RGB | rgb(203, 123, 246) |
| HSL | hsl(279, 87%, 72%) |
| HSV | hsv(279, 50%, 96%) |
| CMYK | cmyk(17.5%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(64.58, 51.80, -49.53) |
| CIE-LCH | lch(64.58, 71.67, 316.29°) |
| OKLab | oklab(71.62% 0.127 -0.1382) |
| OKLCH | oklch(71.62% 0.188 312.6) |
| XYZ | xyz(48.3432, 33.5174, 91.0938) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.50
Easter Purple
#C071FE
ΔE00 3.65
Liliac
#C48EFD
ΔE00 4.86
Light Urple
#B36FF6
ΔE00 5.45
Bright Lavender
#C760FF
ΔE00 5.87
Bright Lilac
#C95EFB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7BF6 #A6F67B
analogous
#8D7BF6 #CB7BF6 #F67BE4
triadic
#CB7BF6 #F6CB7B #7BF6CB
tetradic
#CB7BF6 #F68D7B #A6F67B #7BE4F6
square
#CB7BF6 #F68D7B #A6F67B #7BE4F6
split-complementary
#CB7BF6 #E4F67B #7BF68D
monochromatic
#9C10E7 #B442F2 #CB7BF6 #E2B4FA #F4E2FD
Accessibility & contrast
On white
2.73
#CB7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#CB7BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7BF6
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7BF6 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#769EF3
Tritanopia (blue-blind)
#C78FAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7bf6; /* rgb */ color: rgb(203, 123, 246); /* oklch */ color: oklch(71.6% 0.188 312.6);
Tailwind
colors: {
custom: {
50: '#dda3f9',
500: '#cb7bf6',
950: '#000000',
},
}SCSS
$custom: #cb7bf6; $custom-light: #dda3f9; $custom-dark: #000000;
JSON
{
"hex": "#cb7bf6",
"rgb": {
"r": 203,
"g": 123,
"b": 246
},
"hsl": {
"h": 279.024,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.71619,
"c": 0.18766,
"h": 312.6
},
"luminance": 0.33516
}Semantic roles & 50–950 ramp
primary
#CB7BF6
secondary
#E1F5D6
accent
#E40251
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85