#CE79FC#CE79FC
#CE79FC is a light, vivid violet. Relative luminance 0.338; OKLCH L 72.0% C 0.198 H 312.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CE79FC |
|---|---|
| RGB | rgb(206, 121, 252) |
| HSL | hsl(279, 96%, 73%) |
| HSV | hsv(279, 52%, 99%) |
| CMYK | cmyk(18.3%, 52%, 0%, 1.2%) |
| CIE-LAB | lab(64.82, 54.87, -52.41) |
| CIE-LCH | lch(64.82, 75.88, 316.31°) |
| OKLab | oklab(71.97% 0.1337 -0.1465) |
| OKLCH | oklch(71.97% 0.198 312.4) |
| XYZ | xyz(49.8586, 33.8260, 95.9792) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.65
Easter Purple
#C071FE
ΔE00 3.33
Liliac
#C48EFD
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 5.41
Light Urple
#B36FF6
ΔE00 5.45
Bright Lilac
#C95EFB
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE79FC #A7FC79
analogous
#8C79FC #CE79FC #FC79E9
triadic
#CE79FC #FCCE79 #79FCCE
tetradic
#CE79FC #FC8C79 #A7FC79 #79E9FC
square
#CE79FC #FC8C79 #A7FC79 #79E9FC
split-complementary
#CE79FC #E9FC79 #79FC8C
monochromatic
#A105F5 #B83DFB #CE79FC #E4B5FD #F4E1FE
Accessibility & contrast
On white
2.70
#CE79FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CE79FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE79FC
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE79FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE79FC | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C98FAF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ce79fc; /* rgb */ color: rgb(206, 121, 252); /* oklch */ color: oklch(72.0% 0.198 312.4);
Tailwind
colors: {
custom: {
50: '#e0a2fe',
500: '#ce79fc',
950: '#000000',
},
}SCSS
$custom: #ce79fc; $custom-light: #e0a2fe; $custom-dark: #000000;
JSON
{
"hex": "#ce79fc",
"rgb": {
"r": 206,
"g": 121,
"b": 252
},
"hsl": {
"h": 278.931,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.71973,
"c": 0.19832,
"h": 312.4
},
"luminance": 0.33825
}Semantic roles & 50–950 ramp
primary
#CE79FC
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86