#C79EFD#C79EFD
#C79EFD is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.2% C 0.138 H 303.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C79EFD |
|---|---|
| RGB | rgb(199, 158, 253) |
| HSL | hsl(266, 96%, 81%) |
| HSV | hsv(266, 38%, 99%) |
| CMYK | cmyk(21.3%, 37.5%, 0%, 0.8%) |
| CIE-LAB | lab(72.02, 33.46, -41.69) |
| CIE-LCH | lch(72.02, 53.45, 308.75°) |
| OKLab | oklab(77.21% 0.0757 -0.1157) |
| OKLCH | oklch(77.21% 0.138 303.2) |
| XYZ | xyz(53.5059, 43.6878, 98.5232) |
| Luminance | 0.4369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.65
Baby Purple
#CA9BF7
ΔE00 1.66
Lilac (survey)
#CEA2FD
ΔE00 1.67
Lavender (survey)
#C79FEF
ΔE00 2.82
Liliac
#C48EFD
ΔE00 4.11
Pale Violet
#CEAEFA
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C79EFD #D4FD9E
analogous
#9EA4FD #C79EFD #F79EFD
triadic
#C79EFD #FDC79E #9EFDC7
tetradic
#C79EFD #FD9EA4 #D4FD9E #9EFDF7
square
#C79EFD #FD9EA4 #D4FD9E #9EFDF7
split-complementary
#C79EFD #FDF79E #A4FD9E
monochromatic
#8226FB #A462FC #C79EFD #EADAFE #EEE1FE
Accessibility & contrast
On white
2.16
#C79EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#C79EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C79EFD
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C79EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C79EFD | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#BEADC2
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c79efd; /* rgb */ color: rgb(199, 158, 253); /* oklch */ color: oklch(77.2% 0.138 303.2);
Tailwind
colors: {
custom: {
50: '#d9bbfe',
500: '#c79efd',
950: '#000000',
},
}SCSS
$custom: #c79efd; $custom-light: #d9bbfe; $custom-dark: #000000;
JSON
{
"hex": "#c79efd",
"rgb": {
"r": 199,
"g": 158,
"b": 253
},
"hsl": {
"h": 265.895,
"s": 95.96,
"l": 80.588
},
"oklch": {
"l": 0.77212,
"c": 0.13825,
"h": 303.2
},
"luminance": 0.43688
}Semantic roles & 50–950 ramp
primary
#C79EFD
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186