#CB7BEC#CB7BEC
#CB7BEC is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.177 H 315.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7BEC |
|---|---|
| RGB | rgb(203, 123, 236) |
| HSL | hsl(282, 75%, 70%) |
| HSV | hsv(282, 48%, 93%) |
| CMYK | cmyk(14%, 47.9%, 0%, 7.5%) |
| CIE-LAB | lab(64.10, 49.72, -44.77) |
| CIE-LCH | lch(64.10, 66.91, 318.00°) |
| OKLab | oklab(71.1% 0.1258 -0.1244) |
| OKLCH | oklch(71.1% 0.177 315.3) |
| XYZ | xyz(46.8495, 32.9199, 83.2269) |
| Luminance | 0.3292 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.50
Easter Purple
#C071FE
ΔE00 4.82
Liliac
#C48EFD
ΔE00 5.56
Orchid
#DA70D6
ΔE00 5.72
Light Urple
#B36FF6
ΔE00 6.24
Bright Lilac
#C95EFB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7BEC #9CEC7B
analogous
#927BEC #CB7BEC #EC7BD4
triadic
#CB7BEC #ECCB7B #7BECCB
tetradic
#CB7BEC #EC927B #9CEC7B #7BD4EC
square
#CB7BEC #EC927B #9CEC7B #7BD4EC
split-complementary
#CB7BEC #D4EC7B #7BEC92
monochromatic
#9B1ECF #B646E4 #CB7BEC #E0B0F4 #F4E4FB
Accessibility & contrast
On white
2.77
#CB7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#CB7BEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7BEC
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7BEC | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#C98CA9
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cb7bec; /* rgb */ color: rgb(203, 123, 236); /* oklch */ color: oklch(71.1% 0.177 315.3);
Tailwind
colors: {
custom: {
50: '#dda3f2',
500: '#cb7bec',
950: '#000000',
},
}SCSS
$custom: #cb7bec; $custom-light: #dda3f2; $custom-dark: #000000;
JSON
{
"hex": "#cb7bec",
"rgb": {
"r": 203,
"g": 123,
"b": 236
},
"hsl": {
"h": 282.478,
"s": 74.834,
"l": 70.392
},
"oklch": {
"l": 0.71105,
"c": 0.17691,
"h": 315.3
},
"luminance": 0.32919
}Semantic roles & 50–950 ramp
primary
#CB7BEC
secondary
#DBF1D2
accent
#D70F49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85