#C795FC#C795FC
#C795FC is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.6% C 0.152 H 305.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C795FC |
|---|---|
| RGB | rgb(199, 149, 252) |
| HSL | hsl(269, 94%, 79%) |
| HSV | hsv(269, 41%, 99%) |
| CMYK | cmyk(21%, 40.9%, 0%, 1.2%) |
| CIE-LAB | lab(69.94, 38.16, -44.40) |
| CIE-LCH | lch(69.94, 58.54, 310.68°) |
| OKLab | oklab(75.63% 0.0879 -0.1235) |
| OKLCH | oklch(75.63% 0.152 305.4) |
| XYZ | xyz(51.8677, 40.6656, 97.1934) |
| Luminance | 0.4067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.87
Baby Purple
#CA9BF7
ΔE00 2.12
Pastel Purple
#CAA0FF
ΔE00 2.75
Lilac (survey)
#CEA2FD
ΔE00 3.42
Lavender (survey)
#C79FEF
ΔE00 4.07
Pale Violet
#CEAEFA
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C795FC #CAFC95
analogous
#9596FC #C795FC #FA95FC
triadic
#C795FC #FCC795 #95FCC7
tetradic
#C795FC #FC9596 #CAFC95 #95FCFA
square
#C795FC #FC9596 #CAFC95 #95FCFA
split-complementary
#C795FC #FCFA95 #96FC95
monochromatic
#881EF9 #A859FA #C795FC #E6D1FE #EFE1FE
Accessibility & contrast
On white
2.30
#C795FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#C795FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C795FC
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C795FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C795FC | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#BFA5BD
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c795fc; /* rgb */ color: rgb(199, 149, 252); /* oklch */ color: oklch(75.6% 0.152 305.4);
Tailwind
colors: {
custom: {
50: '#dab5fe',
500: '#c795fc',
950: '#000000',
},
}SCSS
$custom: #c795fc; $custom-light: #dab5fe; $custom-dark: #000000;
JSON
{
"hex": "#c795fc",
"rgb": {
"r": 199,
"g": 149,
"b": 252
},
"hsl": {
"h": 269.126,
"s": 94.495,
"l": 78.627
},
"oklch": {
"l": 0.75626,
"c": 0.15156,
"h": 305.4
},
"luminance": 0.40665
}Semantic roles & 50–950 ramp
primary
#C795FC
secondary
#E6F6D5
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086