#C781FC#C781FC
#C781FC is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.4% C 0.183 H 308.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C781FC |
|---|---|
| RGB | rgb(199, 129, 252) |
| HSL | hsl(274, 95%, 75%) |
| HSV | hsv(274, 49%, 99%) |
| CMYK | cmyk(21%, 48.8%, 0%, 1.2%) |
| CIE-LAB | lab(65.65, 48.90, -51.16) |
| CIE-LCH | lch(65.65, 70.77, 313.71°) |
| OKLab | oklab(72.41% 0.1149 -0.143) |
| OKLCH | oklch(72.41% 0.183 308.8) |
| XYZ | xyz(48.9707, 34.8716, 96.2277) |
| Luminance | 0.3487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.74
Liliac
#C48EFD
ΔE00 3.21
Easter Purple
#C071FE
ΔE00 3.94
Light Urple
#B36FF6
ΔE00 5.59
Baby Purple
#CA9BF7
ΔE00 6.66
Bright Lavender
#C760FF
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C781FC #B6FC81
analogous
#8981FC #C781FC #FC81F4
triadic
#C781FC #FCC781 #81FCC7
tetradic
#C781FC #FC8981 #B6FC81 #81F4FC
square
#C781FC #FC8981 #B6FC81 #81F4FC
split-complementary
#C781FC #F4FC81 #81FC89
monochromatic
#9209F9 #AC45FB #C781FC #E2BDFD #F2E1FE
Accessibility & contrast
On white
2.63
#C781FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#C781FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C781FC
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C781FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C781FC | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#75A0F9
Tritanopia (blue-blind)
#C096B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c781fc; /* rgb */ color: rgb(199, 129, 252); /* oklch */ color: oklch(72.4% 0.183 308.8);
Tailwind
colors: {
custom: {
50: '#daa7fe',
500: '#c781fc',
950: '#000000',
},
}SCSS
$custom: #c781fc; $custom-light: #daa7fe; $custom-dark: #000000;
JSON
{
"hex": "#c781fc",
"rgb": {
"r": 199,
"g": 129,
"b": 252
},
"hsl": {
"h": 274.146,
"s": 95.349,
"l": 74.706
},
"oklch": {
"l": 0.72412,
"c": 0.18348,
"h": 308.8
},
"luminance": 0.34871
}Semantic roles & 50–950 ramp
primary
#C781FC
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86