#CB7BFC#CB7BFC
#CB7BFC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.194 H 311.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7BFC |
|---|---|
| RGB | rgb(203, 123, 252) |
| HSL | hsl(277, 96%, 74%) |
| HSV | hsv(277, 51%, 99%) |
| CMYK | cmyk(19.4%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(64.88, 53.07, -52.35) |
| CIE-LCH | lch(64.88, 74.55, 315.39°) |
| OKLab | oklab(71.94% 0.1275 -0.1464) |
| OKLCH | oklch(71.94% 0.194 311.1) |
| XYZ | xyz(49.2791, 33.8917, 96.0224) |
| Luminance | 0.3389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.32
Easter Purple
#C071FE
ΔE00 3.20
Liliac
#C48EFD
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 5.21
Bright Lavender
#C760FF
ΔE00 5.65
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7BFC #ACFC7B
analogous
#8A7BFC #CB7BFC #FC7BED
triadic
#CB7BFC #FCCB7B #7BFCCB
tetradic
#CB7BFC #FC8A7B #ACFC7B #7BEDFC
square
#CB7BFC #FC8A7B #ACFC7B #7BEDFC
split-complementary
#CB7BFC #EDFC7B #7BFC8A
monochromatic
#9B06F7 #B33FFB #CB7BFC #E3B7FD #F3E1FE
Accessibility & contrast
On white
2.70
#CB7BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CB7BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7BFC
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7BFC | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C591B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7bfc; /* rgb */ color: rgb(203, 123, 252); /* oklch */ color: oklch(71.9% 0.194 311.1);
Tailwind
colors: {
custom: {
50: '#dda4fe',
500: '#cb7bfc',
950: '#000000',
},
}SCSS
$custom: #cb7bfc; $custom-light: #dda4fe; $custom-dark: #000000;
JSON
{
"hex": "#cb7bfc",
"rgb": {
"r": 203,
"g": 123,
"b": 252
},
"hsl": {
"h": 277.209,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.71937,
"c": 0.19416,
"h": 311.1
},
"luminance": 0.33891
}Semantic roles & 50–950 ramp
primary
#CB7BFC
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86