#CB7FE3#CB7FE3
#CB7FE3 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.161 H 317.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FE3 |
|---|---|
| RGB | rgb(203, 127, 227) |
| HSL | hsl(286, 64%, 69%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.6%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(64.50, 45.80, -39.14) |
| CIE-LCH | lch(64.50, 60.25, 319.48°) |
| OKLab | oklab(71.27% 0.1189 -0.1081) |
| OKLCH | oklch(71.27% 0.161 317.7) |
| XYZ | xyz(46.0812, 33.4227, 76.6820) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.96
Light Purple
#BF77F6
ΔE00 5.24
Lavender Pink
#DD85D7
ΔE00 5.51
Orchid (survey)
#C875C4
ΔE00 5.87
Violet (CSS)
#EE82EE
ΔE00 6.02
Liliac
#C48EFD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FE3 #97E37F
analogous
#997FE3 #CB7FE3 #E37FC9
triadic
#CB7FE3 #E3CB7F #7FE3CB
tetradic
#CB7FE3 #E3997F #97E37F #7FC9E3
square
#CB7FE3 #E3997F #97E37F #7FC9E3
split-complementary
#CB7FE3 #C9E37F #7FE399
monochromatic
#9A2ABE #B74DD8 #CB7FE3 #DFB1EE #F4E3F9
Accessibility & contrast
On white
2.73
#CB7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#CB7FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FE3
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FE3 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#CB8CA6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb7fe3; /* rgb */ color: rgb(203, 127, 227); /* oklch */ color: oklch(71.3% 0.161 317.7);
Tailwind
colors: {
custom: {
50: '#dca6ec',
500: '#cb7fe3',
950: '#000000',
},
}SCSS
$custom: #cb7fe3; $custom-light: #dca6ec; $custom-dark: #000000;
JSON
{
"hex": "#cb7fe3",
"rgb": {
"r": 203,
"g": 127,
"b": 227
},
"hsl": {
"h": 285.6,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.71273,
"c": 0.16074,
"h": 317.7
},
"luminance": 0.33421
}Semantic roles & 50–950 ramp
primary
#CB7FE3
secondary
#D7EDD0
accent
#CC1A44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84