#CB6FEC#CB6FEC
#CB6FEC is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.4% C 0.196 H 316.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CB6FEC |
|---|---|
| RGB | rgb(203, 111, 236) |
| HSL | hsl(284, 77%, 68%) |
| HSV | hsv(284, 53%, 93%) |
| CMYK | cmyk(14%, 53%, 0%, 7.5%) |
| CIE-LAB | lab(61.76, 55.82, -48.45) |
| CIE-LCH | lch(61.76, 73.92, 319.04°) |
| OKLab | oklab(69.38% 0.1418 -0.135) |
| OKLCH | oklch(69.38% 0.196 316.4) |
| XYZ | xyz(45.4511, 30.1230, 82.7607) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.47
Easter Purple
#C071FE
ΔE00 3.95
Bright Lilac
#C95EFB
ΔE00 4.17
Bright Lavender
#C760FF
ΔE00 4.42
Light Urple
#B36FF6
ΔE00 5.22
Heliotrope
#D94FF5
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB6FEC #90EC6F
analogous
#8C6FEC #CB6FEC #EC6FCE
triadic
#CB6FEC #ECCB6F #6FECCB
tetradic
#CB6FEC #EC8C6F #90EC6F #6FCEEC
square
#CB6FEC #EC8C6F #90EC6F #6FCEEC
split-complementary
#CB6FEC #CEEC6F #6FEC8C
monochromatic
#991AC6 #B739E5 #CB6FEC #DFA5F3 #F2DBFA
Accessibility & contrast
On white
2.99
#CB6FEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#CB6FEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB6FEC
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB6FEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB6FEC | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#CA82A3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #cb6fec; /* rgb */ color: rgb(203, 111, 236); /* oklch */ color: oklch(69.4% 0.196 316.4);
Tailwind
colors: {
custom: {
50: '#dd9cf2',
500: '#cb6fec',
950: '#000000',
},
}SCSS
$custom: #cb6fec; $custom-light: #dd9cf2; $custom-dark: #000000;
JSON
{
"hex": "#cb6fec",
"rgb": {
"r": 203,
"g": 111,
"b": 236
},
"hsl": {
"h": 284.16,
"s": 76.687,
"l": 68.039
},
"oklch": {
"l": 0.69377,
"c": 0.19581,
"h": 316.4
},
"luminance": 0.30122
}Semantic roles & 50–950 ramp
primary
#CB6FEC
secondary
#D2EFC8
accent
#D90D43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85