#CE7EFD#CE7EFD
#CE7EFD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.8% C 0.192 H 311.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7EFD |
|---|---|
| RGB | rgb(206, 126, 253) |
| HSL | hsl(278, 97%, 74%) |
| HSV | hsv(278, 50%, 99%) |
| CMYK | cmyk(18.6%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(65.85, 52.52, -51.33) |
| CIE-LCH | lch(65.85, 73.44, 315.66°) |
| OKLab | oklab(72.75% 0.1273 -0.1433) |
| OKLCH | oklch(72.75% 0.192 311.6) |
| XYZ | xyz(50.6409, 35.1364, 97.0238) |
| Luminance | 0.3513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.11
Easter Purple
#C071FE
ΔE00 4.04
Liliac
#C48EFD
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 6.04
Bright Lavender
#C760FF
ΔE00 6.43
Bright Lilac
#C95EFB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7EFD #ADFD7E
analogous
#8F7EFD #CE7EFD #FD7EED
triadic
#CE7EFD #FDCE7E #7EFDCE
tetradic
#CE7EFD #FD8F7E #ADFD7E #7EEDFD
square
#CE7EFD #FD8F7E #ADFD7E #7EEDFD
split-complementary
#CE7EFD #EDFD7E #7EFD8F
monochromatic
#A005FB #B742FC #CE7EFD #E5BAFE #F4E1FF
Accessibility & contrast
On white
2.62
#CE7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#CE7EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7EFD
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7EFD | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#C993B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ce7efd; /* rgb */ color: rgb(206, 126, 253); /* oklch */ color: oklch(72.8% 0.192 311.6);
Tailwind
colors: {
custom: {
50: '#dfa6fe',
500: '#ce7efd',
950: '#000000',
},
}SCSS
$custom: #ce7efd; $custom-light: #dfa6fe; $custom-dark: #000000;
JSON
{
"hex": "#ce7efd",
"rgb": {
"r": 206,
"g": 126,
"b": 253
},
"hsl": {
"h": 277.795,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.72751,
"c": 0.19169,
"h": 311.6
},
"luminance": 0.35135
}Semantic roles & 50–950 ramp
primary
#CE7EFD
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86