#CE7DFE#CE7DFE
#CE7DFE is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.7% C 0.194 H 311.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7DFE |
|---|---|
| RGB | rgb(206, 125, 254) |
| HSL | hsl(278, 98%, 74%) |
| HSV | hsv(278, 51%, 100%) |
| CMYK | cmyk(18.9%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(65.71, 53.25, -52.11) |
| CIE-LCH | lch(65.71, 74.50, 315.62°) |
| OKLab | oklab(72.66% 0.1287 -0.1456) |
| OKLCH | oklch(72.66% 0.194 311.5) |
| XYZ | xyz(50.6734, 34.9458, 97.8225) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.99
Easter Purple
#C071FE
ΔE00 3.82
Liliac
#C48EFD
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 5.88
Bright Lavender
#C760FF
ΔE00 6.20
Bright Lilac
#C95EFB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7DFE #ADFE7D
analogous
#8E7DFE #CE7DFE #FE7DEE
triadic
#CE7DFE #FECE7D #7DFECE
tetradic
#CE7DFE #FE8E7D #ADFE7D #7DEEFE
square
#CE7DFE #FE8E7D #ADFE7D #7DEEFE
split-complementary
#CE7DFE #EEFE7D #7DFE8E
monochromatic
#A004FD #B740FE #CE7DFE #E5BAFE #F4E1FF
Accessibility & contrast
On white
2.63
#CE7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#CE7DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7DFE
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7DFE | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#C992B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ce7dfe; /* rgb */ color: rgb(206, 125, 254); /* oklch */ color: oklch(72.7% 0.194 311.5);
Tailwind
colors: {
custom: {
50: '#dfa5ff',
500: '#ce7dfe',
950: '#000000',
},
}SCSS
$custom: #ce7dfe; $custom-light: #dfa5ff; $custom-dark: #000000;
JSON
{
"hex": "#ce7dfe",
"rgb": {
"r": 206,
"g": 125,
"b": 254
},
"hsl": {
"h": 277.674,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.72658,
"c": 0.19433,
"h": 311.5
},
"luminance": 0.34945
}Semantic roles & 50–950 ramp
primary
#CE7DFE
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86