#CB6FE2#CB6FE2
#CB6FE2 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.9% C 0.186 H 319.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CB6FE2 |
|---|---|
| RGB | rgb(203, 111, 226) |
| HSL | hsl(288, 66%, 66%) |
| HSV | hsv(288, 51%, 89%) |
| CMYK | cmyk(10.2%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(61.27, 53.84, -43.66) |
| CIE-LCH | lch(61.27, 69.31, 320.96°) |
| OKLab | oklab(68.86% 0.1408 -0.1211) |
| OKLCH | oklch(68.86% 0.186 319.3) |
| XYZ | xyz(44.0387, 29.5581, 75.3223) |
| Luminance | 0.2956 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.27
Light Purple
#BF77F6
ΔE00 4.78
Bright Lilac
#C95EFB
ΔE00 5.35
Easter Purple
#C071FE
ΔE00 5.49
Bright Lavender
#C760FF
ΔE00 5.74
Heliotrope
#D94FF5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB6FE2 #86E26F
analogous
#916FE2 #CB6FE2 #E26FBF
triadic
#CB6FE2 #E2CB6F #6FE2CB
tetradic
#CB6FE2 #E2916F #86E26F #6FBFE2
square
#CB6FE2 #E2916F #86E26F #6FBFE2
split-complementary
#CB6FE2 #BFE26F #6FE291
monochromatic
#9624B3 #B93CD8 #CB6FE2 #DDA2EC #F0D5F7
Accessibility & contrast
On white
3.04
#CB6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#CB6FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB6FE2
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB6FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB6FE2 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8EE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#CC7F9E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #cb6fe2; /* rgb */ color: rgb(203, 111, 226); /* oklch */ color: oklch(68.9% 0.186 319.3);
Tailwind
colors: {
custom: {
50: '#dd9beb',
500: '#cb6fe2',
950: '#000000',
},
}SCSS
$custom: #cb6fe2; $custom-light: #dd9beb; $custom-dark: #000000;
JSON
{
"hex": "#cb6fe2",
"rgb": {
"r": 203,
"g": 111,
"b": 226
},
"hsl": {
"h": 288,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.68858,
"c": 0.18573,
"h": 319.3
},
"luminance": 0.29556
}Semantic roles & 50–950 ramp
primary
#CB6FE2
secondary
#CBE9C4
accent
#CE173C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84