#C792FC#C792FC
#C792FC is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.1% C 0.156 H 306.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C792FC |
|---|---|
| RGB | rgb(199, 146, 252) |
| HSL | hsl(270, 95%, 78%) |
| HSV | hsv(270, 42%, 99%) |
| CMYK | cmyk(21%, 42.1%, 0%, 1.2%) |
| CIE-LAB | lab(69.28, 39.79, -45.44) |
| CIE-LCH | lch(69.28, 60.40, 311.21°) |
| OKLab | oklab(75.13% 0.092 -0.1265) |
| OKLCH | oklch(75.13% 0.156 306) |
| XYZ | xyz(51.3992, 39.7285, 97.0372) |
| Luminance | 0.3973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.19
Baby Purple
#CA9BF7
ΔE00 2.76
Pastel Purple
#CAA0FF
ΔE00 3.50
Lilac (survey)
#CEA2FD
ΔE00 4.14
Lavender (survey)
#C79FEF
ΔE00 4.69
Light Purple
#BF77F6
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C792FC #C7FC92
analogous
#9292FC #C792FC #FC92FC
triadic
#C792FC #FCC792 #92FCC7
tetradic
#C792FC #FC9292 #C7FC92 #92FCFC
square
#C792FC #FC9292 #C7FC92 #92FCFC
split-complementary
#C792FC #FCFC92 #92FC92
monochromatic
#8A1BF9 #A856FA #C792FC #E6CEFE #F0E1FE
Accessibility & contrast
On white
2.35
#C792FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#C792FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C792FC
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C792FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C792FC | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#85AAF9
Tritanopia (blue-blind)
#BFA3BB
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c792fc; /* rgb */ color: rgb(199, 146, 252); /* oklch */ color: oklch(75.1% 0.156 306.0);
Tailwind
colors: {
custom: {
50: '#dab3fe',
500: '#c792fc',
950: '#000000',
},
}SCSS
$custom: #c792fc; $custom-light: #dab3fe; $custom-dark: #000000;
JSON
{
"hex": "#c792fc",
"rgb": {
"r": 199,
"g": 146,
"b": 252
},
"hsl": {
"h": 270,
"s": 94.643,
"l": 78.039
},
"oklch": {
"l": 0.75125,
"c": 0.15641,
"h": 306
},
"luminance": 0.39728
}Semantic roles & 50–950 ramp
primary
#C792FC
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086