#CB7FEC#CB7FEC
#CB7FEC is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.170 H 314.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FEC |
|---|---|
| RGB | rgb(203, 127, 236) |
| HSL | hsl(282, 74%, 71%) |
| HSV | hsv(282, 46%, 93%) |
| CMYK | cmyk(14%, 46.2%, 0%, 7.5%) |
| CIE-LAB | lab(64.91, 47.64, -43.49) |
| CIE-LCH | lch(64.91, 64.50, 317.61°) |
| OKLab | oklab(71.71% 0.1203 -0.1207) |
| OKLCH | oklch(71.71% 0.17 314.9) |
| XYZ | xyz(47.3559, 33.9326, 83.3957) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.95
Liliac
#C48EFD
ΔE00 4.92
Easter Purple
#C071FE
ΔE00 5.40
Orchid
#DA70D6
ΔE00 6.03
Violet (CSS)
#EE82EE
ΔE00 6.45
Light Urple
#B36FF6
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FEC #A0EC7F
analogous
#947FEC #CB7FEC #EC7FD6
triadic
#CB7FEC #ECCB7F #7FECCB
tetradic
#CB7FEC #EC947F #A0EC7F #7FD6EC
square
#CB7FEC #EC947F #A0EC7F #7FD6EC
split-complementary
#CB7FEC #D6EC7F #7FEC94
monochromatic
#9B1FD2 #B54AE4 #CB7FEC #E1B4F4 #F4E4FB
Accessibility & contrast
On white
2.70
#CB7FEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CB7FEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FEC
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FEC | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#C98FAA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cb7fec; /* rgb */ color: rgb(203, 127, 236); /* oklch */ color: oklch(71.7% 0.170 314.9);
Tailwind
colors: {
custom: {
50: '#dda6f2',
500: '#cb7fec',
950: '#000000',
},
}SCSS
$custom: #cb7fec; $custom-light: #dda6f2; $custom-dark: #000000;
JSON
{
"hex": "#cb7fec",
"rgb": {
"r": 203,
"g": 127,
"b": 236
},
"hsl": {
"h": 281.835,
"s": 74.15,
"l": 71.176
},
"oklch": {
"l": 0.7171,
"c": 0.17042,
"h": 314.9
},
"luminance": 0.33931
}Semantic roles & 50–950 ramp
primary
#CB7FEC
secondary
#DEF2D5
accent
#D60F4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85