#CB7FEE#CB7FEE
#CB7FEE is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.173 H 314.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FEE |
|---|---|
| RGB | rgb(203, 127, 238) |
| HSL | hsl(281, 77%, 72%) |
| HSV | hsv(281, 47%, 93%) |
| CMYK | cmyk(14.7%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(65.00, 48.05, -44.45) |
| CIE-LCH | lch(65.00, 65.46, 317.23°) |
| OKLab | oklab(71.81% 0.1206 -0.1235) |
| OKLCH | oklch(71.81% 0.173 314.3) |
| XYZ | xyz(47.6481, 34.0495, 84.9345) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.71
Liliac
#C48EFD
ΔE00 4.72
Easter Purple
#C071FE
ΔE00 5.15
Orchid
#DA70D6
ΔE00 6.29
Violet (CSS)
#EE82EE
ΔE00 6.59
Light Urple
#B36FF6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FEE #A2EE7F
analogous
#947FEE #CB7FEE #EE7FDA
triadic
#CB7FEE #EECB7F #7FEECB
tetradic
#CB7FEE #EE947F #A2EE7F #7FDAEE
square
#CB7FEE #EE947F #A2EE7F #7FDAEE
split-complementary
#CB7FEE #DAEE7F #7FEE94
monochromatic
#9C1CD6 #B549E7 #CB7FEE #E1B5F5 #F4E4FB
Accessibility & contrast
On white
2.69
#CB7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CB7FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FEE
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FEE | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#C890AB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cb7fee; /* rgb */ color: rgb(203, 127, 238); /* oklch */ color: oklch(71.8% 0.173 314.3);
Tailwind
colors: {
custom: {
50: '#dda6f4',
500: '#cb7fee',
950: '#000000',
},
}SCSS
$custom: #cb7fee; $custom-light: #dda6f4; $custom-dark: #000000;
JSON
{
"hex": "#cb7fee",
"rgb": {
"r": 203,
"g": 127,
"b": 238
},
"hsl": {
"h": 281.081,
"s": 76.552,
"l": 71.569
},
"oklch": {
"l": 0.71809,
"c": 0.1726,
"h": 314.3
},
"luminance": 0.34048
}Semantic roles & 50–950 ramp
primary
#CB7FEE
secondary
#DFF3D6
accent
#D90D4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85