#CE7CFF#CE7CFF
#CE7CFF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.197 H 311.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7CFF |
|---|---|
| RGB | rgb(206, 124, 255) |
| HSL | hsl(278, 100%, 74%) |
| HSV | hsv(278, 51%, 100%) |
| CMYK | cmyk(19.2%, 51.4%, 0%, 0%) |
| CIE-LAB | lab(65.56, 53.97, -52.89) |
| CIE-LCH | lch(65.56, 75.57, 315.58°) |
| OKLab | oklab(72.57% 0.1301 -0.1479) |
| OKLCH | oklch(72.57% 0.197 311.3) |
| XYZ | xyz(50.7080, 34.7582, 98.6261) |
| Luminance | 0.3476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.90
Easter Purple
#C071FE
ΔE00 3.62
Liliac
#C48EFD
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 5.73
Bright Lavender
#C760FF
ΔE00 5.97
Bright Lilac
#C95EFB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7CFF #ADFF7C
analogous
#8D7CFF #CE7CFF #FF7CEF
triadic
#CE7CFF #FFCE7C #7CFFCE
tetradic
#CE7CFF #FF8D7C #ADFF7C #7CEFFF
square
#CE7CFF #FF8D7C #ADFF7C #7CEFFF
split-complementary
#CE7CFF #EFFF7C #7CFF8D
monochromatic
#A002FF #B73FFF #CE7CFF #E5B9FF #F4E0FF
Accessibility & contrast
On white
2.64
#CE7CFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#CE7CFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7CFF
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7CFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7CFF | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#C892B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ce7cff; /* rgb */ color: rgb(206, 124, 255); /* oklch */ color: oklch(72.6% 0.197 311.3);
Tailwind
colors: {
custom: {
50: '#dfa4ff',
500: '#ce7cff',
950: '#000000',
},
}SCSS
$custom: #ce7cff; $custom-light: #dfa4ff; $custom-dark: #000000;
JSON
{
"hex": "#ce7cff",
"rgb": {
"r": 206,
"g": 124,
"b": 255
},
"hsl": {
"h": 277.557,
"s": 100,
"l": 74.314
},
"oklch": {
"l": 0.72566,
"c": 0.19694,
"h": 311.3
},
"luminance": 0.34757
}Semantic roles & 50–950 ramp
primary
#CE7CFF
secondary
#E1F7D4
accent
#E60056
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86