#CB7FE2#CB7FE2
#CB7FE2 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.2% C 0.160 H 318.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7FE2 |
|---|---|
| RGB | rgb(203, 127, 226) |
| HSL | hsl(286, 63%, 69%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.2%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(64.46, 45.60, -38.66) |
| CIE-LCH | lch(64.46, 59.78, 319.71°) |
| OKLab | oklab(71.23% 0.1187 -0.1067) |
| OKLCH | oklch(71.23% 0.16 318) |
| XYZ | xyz(45.9435, 33.3677, 75.9572) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.85
Lavender Pink
#DD85D7
ΔE00 5.37
Light Purple
#BF77F6
ΔE00 5.40
Orchid (survey)
#C875C4
ΔE00 5.70
Violet (CSS)
#EE82EE
ΔE00 6.00
Liliac
#C48EFD
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7FE2 #96E27F
analogous
#9A7FE2 #CB7FE2 #E27FC7
triadic
#CB7FE2 #E2CB7F #7FE2CB
tetradic
#CB7FE2 #E29A7F #96E27F #7FC7E2
square
#CB7FE2 #E29A7F #96E27F #7FC7E2
split-complementary
#CB7FE2 #C7E27F #7FE29A
monochromatic
#9A2BBC #B74DD7 #CB7FE2 #DFB1ED #F4E3F9
Accessibility & contrast
On white
2.74
#CB7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#CB7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7FE2
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7FE2 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#839FDF
Tritanopia (blue-blind)
#CB8CA6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cb7fe2; /* rgb */ color: rgb(203, 127, 226); /* oklch */ color: oklch(71.2% 0.160 318.0);
Tailwind
colors: {
custom: {
50: '#dca6eb',
500: '#cb7fe2',
950: '#000000',
},
}SCSS
$custom: #cb7fe2; $custom-light: #dca6eb; $custom-dark: #000000;
JSON
{
"hex": "#cb7fe2",
"rgb": {
"r": 203,
"g": 127,
"b": 226
},
"hsl": {
"h": 286.061,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.71225,
"c": 0.15967,
"h": 318
},
"luminance": 0.33366
}Semantic roles & 50–950 ramp
primary
#CB7FE2
secondary
#D7EDD0
accent
#CB1B44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84