#CE7FE7#CE7FE7
#CE7FE7 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.166 H 317.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7FE7 |
|---|---|
| RGB | rgb(206, 127, 231) |
| HSL | hsl(286, 68%, 70%) |
| HSV | hsv(286, 45%, 91%) |
| CMYK | cmyk(10.8%, 45%, 0%, 9.4%) |
| CIE-LAB | lab(65.02, 47.47, -40.53) |
| CIE-LCH | lch(65.02, 62.41, 319.51°) |
| OKLab | oklab(71.79% 0.1231 -0.1121) |
| OKLCH | oklch(71.79% 0.166 317.7) |
| XYZ | xyz(47.4648, 34.0716, 79.6620) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 5.02
Light Purple
#BF77F6
ΔE00 5.08
Violet (CSS)
#EE82EE
ΔE00 5.61
Lavender Pink
#DD85D7
ΔE00 5.61
Liliac
#C48EFD
ΔE00 5.84
Purply Pink
#F075E6
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7FE7 #98E77F
analogous
#9A7FE7 #CE7FE7 #E77FCC
triadic
#CE7FE7 #E7CE7F #7FE7CE
tetradic
#CE7FE7 #E79A7F #98E77F #7FCCE7
square
#CE7FE7 #E79A7F #98E77F #7FCCE7
split-complementary
#CE7FE7 #CCE77F #7FE79A
monochromatic
#A025C6 #BA4BDD #CE7FE7 #E2B3F1 #F5E5FA
Accessibility & contrast
On white
2.69
#CE7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CE7FE7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7FE7
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7FE7 | 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)
#6D99EB
Deuteranopia (green-blind)
#83A0E4
Tritanopia (blue-blind)
#CE8DA8
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ce7fe7; /* rgb */ color: rgb(206, 127, 231); /* oklch */ color: oklch(71.8% 0.166 317.7);
Tailwind
colors: {
custom: {
50: '#dfa6ef',
500: '#ce7fe7',
950: '#000000',
},
}SCSS
$custom: #ce7fe7; $custom-light: #dfa6ef; $custom-dark: #000000;
JSON
{
"hex": "#ce7fe7",
"rgb": {
"r": 206,
"g": 127,
"b": 231
},
"hsl": {
"h": 285.577,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.71792,
"c": 0.16645,
"h": 317.7
},
"luminance": 0.3407
}Semantic roles & 50–950 ramp
primary
#CE7FE7
secondary
#D9EFD2
accent
#D01542
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84