#CE7DF2#CE7DF2
#CE7DF2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.181 H 314.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7DF2 |
|---|---|
| RGB | rgb(206, 125, 242) |
| HSL | hsl(282, 82%, 72%) |
| HSV | hsv(282, 48%, 95%) |
| CMYK | cmyk(14.9%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.12, 50.74, -46.44) |
| CIE-LCH | lch(65.12, 68.79, 317.53°) |
| OKLab | oklab(72.03% 0.1274 -0.1292) |
| OKLCH | oklch(72.03% 0.181 314.6) |
| XYZ | xyz(48.8117, 34.2011, 88.0174) |
| Luminance | 0.3420 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.54
Easter Purple
#C071FE
ΔE00 4.77
Liliac
#C48EFD
ΔE00 4.97
Orchid
#DA70D6
ΔE00 6.30
Violet (CSS)
#EE82EE
ΔE00 6.45
Light Urple
#B36FF6
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7DF2 #A1F27D
analogous
#947DF2 #CE7DF2 #F27DDC
triadic
#CE7DF2 #F2CE7D #7DF2CE
tetradic
#CE7DF2 #F2947D #A1F27D #7DDCF2
square
#CE7DF2 #F2947D #A1F27D #7DDCF2
split-complementary
#CE7DF2 #DCF27D #7DF294
monochromatic
#A116DE #B945EC #CE7DF2 #E3B5F8 #F5E3FC
Accessibility & contrast
On white
2.68
#CE7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#CE7DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7DF2
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7DF2 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#CB8FAC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ce7df2; /* rgb */ color: rgb(206, 125, 242); /* oklch */ color: oklch(72.0% 0.181 314.6);
Tailwind
colors: {
custom: {
50: '#dfa5f7',
500: '#ce7df2',
950: '#000000',
},
}SCSS
$custom: #ce7df2; $custom-light: #dfa5f7; $custom-dark: #000000;
JSON
{
"hex": "#ce7df2",
"rgb": {
"r": 206,
"g": 125,
"b": 242
},
"hsl": {
"h": 281.538,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.72034,
"c": 0.18141,
"h": 314.6
},
"luminance": 0.342
}Semantic roles & 50–950 ramp
primary
#CE7DF2
secondary
#E0F4D7
accent
#DE0749
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85