#CE7EF2#CE7EF2
#CE7EF2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.180 H 314.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7EF2 |
|---|---|
| RGB | rgb(206, 126, 242) |
| HSL | hsl(281, 82%, 72%) |
| HSV | hsv(281, 48%, 95%) |
| CMYK | cmyk(14.9%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.32, 50.22, -46.13) |
| CIE-LCH | lch(65.32, 68.19, 317.43°) |
| OKLab | oklab(72.18% 0.126 -0.1282) |
| OKLCH | oklch(72.18% 0.18 314.5) |
| XYZ | xyz(48.9389, 34.4556, 88.0598) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.65
Liliac
#C48EFD
ΔE00 4.80
Easter Purple
#C071FE
ΔE00 4.92
Orchid
#DA70D6
ΔE00 6.38
Violet (CSS)
#EE82EE
ΔE00 6.39
Light Urple
#B36FF6
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7EF2 #A2F27E
analogous
#947EF2 #CE7EF2 #F27EDC
triadic
#CE7EF2 #F2CE7E #7EF2CE
tetradic
#CE7EF2 #F2947E #A2F27E #7EDCF2
square
#CE7EF2 #F2947E #A2F27E #7EDCF2
split-complementary
#CE7EF2 #DCF27E #7EF294
monochromatic
#A116DF #B946EC #CE7EF2 #E3B6F8 #F4E3FC
Accessibility & contrast
On white
2.66
#CE7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#CE7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7EF2
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7EF2 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#CB90AD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ce7ef2; /* rgb */ color: rgb(206, 126, 242); /* oklch */ color: oklch(72.2% 0.180 314.5);
Tailwind
colors: {
custom: {
50: '#dfa5f7',
500: '#ce7ef2',
950: '#000000',
},
}SCSS
$custom: #ce7ef2; $custom-light: #dfa5f7; $custom-dark: #000000;
JSON
{
"hex": "#ce7ef2",
"rgb": {
"r": 206,
"g": 126,
"b": 242
},
"hsl": {
"h": 281.379,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.72183,
"c": 0.17981,
"h": 314.5
},
"luminance": 0.34454
}Semantic roles & 50–950 ramp
primary
#CE7EF2
secondary
#E0F4D7
accent
#DE074A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85