#CB7BFB#CB7BFB
#CB7BFB is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.9% C 0.193 H 311.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7BFB |
|---|---|
| RGB | rgb(203, 123, 251) |
| HSL | hsl(278, 94%, 73%) |
| HSV | hsv(278, 51%, 98%) |
| CMYK | cmyk(19.1%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(64.83, 52.86, -51.88) |
| CIE-LCH | lch(64.83, 74.07, 315.53°) |
| OKLab | oklab(71.88% 0.1275 -0.145) |
| OKLCH | oklch(71.88% 0.193 311.3) |
| XYZ | xyz(49.1210, 33.8285, 95.1900) |
| Luminance | 0.3383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.32
Easter Purple
#C071FE
ΔE00 3.25
Liliac
#C48EFD
ΔE00 4.69
Light Urple
#B36FF6
ΔE00 5.24
Bright Lavender
#C760FF
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7BFB #ABFB7B
analogous
#8B7BFB #CB7BFB #FB7BEB
triadic
#CB7BFB #FBCB7B #7BFBCB
tetradic
#CB7BFB #FB8B7B #ABFB7B #7BEBFB
square
#CB7BFB #FB8B7B #ABFB7B #7BEBFB
split-complementary
#CB7BFB #EBFB7B #7BFB8B
monochromatic
#9B07F4 #B440F9 #CB7BFB #E2B6FD #F3E1FE
Accessibility & contrast
On white
2.70
#CB7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CB7BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7BFB
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7BFB | 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)
#5A99FF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#C690B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7bfb; /* rgb */ color: rgb(203, 123, 251); /* oklch */ color: oklch(71.9% 0.193 311.3);
Tailwind
colors: {
custom: {
50: '#dda3fd',
500: '#cb7bfb',
950: '#000000',
},
}SCSS
$custom: #cb7bfb; $custom-light: #dda3fd; $custom-dark: #000000;
JSON
{
"hex": "#cb7bfb",
"rgb": {
"r": 203,
"g": 123,
"b": 251
},
"hsl": {
"h": 277.5,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.71884,
"c": 0.19307,
"h": 311.3
},
"luminance": 0.33827
}Semantic roles & 50–950 ramp
primary
#CB7BFB
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86