#CE7FF2#CE7FF2
#CE7FF2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.178 H 314.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7FF2 |
|---|---|
| RGB | rgb(206, 127, 242) |
| HSL | hsl(281, 82%, 72%) |
| HSV | hsv(281, 48%, 95%) |
| CMYK | cmyk(14.9%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(65.52, 49.70, -45.81) |
| CIE-LCH | lch(65.52, 67.59, 317.33°) |
| OKLab | oklab(72.33% 0.1247 -0.1273) |
| OKLCH | oklch(72.33% 0.178 314.4) |
| XYZ | xyz(49.0674, 34.7126, 88.1026) |
| Luminance | 0.3471 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.78
Liliac
#C48EFD
ΔE00 4.64
Easter Purple
#C071FE
ΔE00 5.07
Violet (CSS)
#EE82EE
ΔE00 6.34
Orchid
#DA70D6
ΔE00 6.46
Light Urple
#B36FF6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7FF2 #A3F27F
analogous
#947FF2 #CE7FF2 #F27FDD
triadic
#CE7FF2 #F2CE7F #7FF2CE
tetradic
#CE7FF2 #F2947F #A3F27F #7FDDF2
square
#CE7FF2 #F2947F #A3F27F #7FDDF2
split-complementary
#CE7FF2 #DDF27F #7FF294
monochromatic
#A117E0 #B947EC #CE7FF2 #E3B7F8 #F4E3FC
Accessibility & contrast
On white
2.64
#CE7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#CE7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7FF2
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7FF2 | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#7EA1EF
Tritanopia (blue-blind)
#CB90AD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ce7ff2; /* rgb */ color: rgb(206, 127, 242); /* oklch */ color: oklch(72.3% 0.178 314.4);
Tailwind
colors: {
custom: {
50: '#dfa6f7',
500: '#ce7ff2',
950: '#000000',
},
}SCSS
$custom: #ce7ff2; $custom-light: #dfa6f7; $custom-dark: #000000;
JSON
{
"hex": "#ce7ff2",
"rgb": {
"r": 206,
"g": 127,
"b": 242
},
"hsl": {
"h": 281.217,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.72333,
"c": 0.1782,
"h": 314.4
},
"luminance": 0.34711
}Semantic roles & 50–950 ramp
primary
#CE7FF2
secondary
#E0F4D7
accent
#DE084B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85