#CE7CFB#CE7CFB
#CE7CFB is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.193 H 312.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CE7CFB |
|---|---|
| RGB | rgb(206, 124, 251) |
| HSL | hsl(279, 94%, 74%) |
| HSV | hsv(279, 51%, 98%) |
| CMYK | cmyk(17.9%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(65.36, 53.13, -51.02) |
| CIE-LCH | lch(65.36, 73.66, 316.16°) |
| OKLab | oklab(72.35% 0.1297 -0.1424) |
| OKLCH | oklch(72.35% 0.193 312.3) |
| XYZ | xyz(50.0708, 34.5033, 95.2702) |
| Luminance | 0.3450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 5.83
Bright Lavender
#C760FF
ΔE00 6.06
Bright Lilac
#C95EFB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE7CFB #A9FB7C
analogous
#8E7CFB #CE7CFB #FB7CE8
triadic
#CE7CFB #FBCE7C #7CFBCE
tetradic
#CE7CFB #FB8E7C #A9FB7C #7CE8FB
square
#CE7CFB #FB8E7C #A9FB7C #7CE8FB
split-complementary
#CE7CFB #E8FB7C #7CFB8E
monochromatic
#A107F5 #B841F9 #CE7CFB #E4B7FD #F4E1FE
Accessibility & contrast
On white
2.66
#CE7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CE7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE7CFB
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE7CFB | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#C991B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ce7cfb; /* rgb */ color: rgb(206, 124, 251); /* oklch */ color: oklch(72.4% 0.193 312.3);
Tailwind
colors: {
custom: {
50: '#dfa4fd',
500: '#ce7cfb',
950: '#000000',
},
}SCSS
$custom: #ce7cfb; $custom-light: #dfa4fd; $custom-dark: #000000;
JSON
{
"hex": "#ce7cfb",
"rgb": {
"r": 206,
"g": 124,
"b": 251
},
"hsl": {
"h": 278.74,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.72353,
"c": 0.19264,
"h": 312.3
},
"luminance": 0.34502
}Semantic roles & 50–950 ramp
primary
#CE7CFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86