#C181FC#C181FC
#C181FC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.182 H 306.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C181FC |
|---|---|
| RGB | rgb(193, 129, 252) |
| HSL | hsl(271, 95%, 75%) |
| HSV | hsv(271, 49%, 99%) |
| CMYK | cmyk(23.4%, 48.8%, 0%, 1.2%) |
| CIE-LAB | lab(65.02, 47.33, -52.20) |
| CIE-LCH | lch(65.02, 70.46, 312.20°) |
| OKLab | oklab(71.8% 0.1078 -0.1462) |
| OKLCH | oklch(71.8% 0.182 306.4) |
| XYZ | xyz(47.4097, 34.0666, 96.1545) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.47
Liliac
#C48EFD
ΔE00 3.17
Easter Purple
#C071FE
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 4.97
Bright Lavender
#C760FF
ΔE00 6.87
Baby Purple
#CA9BF7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181FC #BCFC81
analogous
#8481FC #C181FC #FC81F9
triadic
#C181FC #FCC181 #81FCC1
tetradic
#C181FC #FC8481 #BCFC81 #81F9FC
square
#C181FC #FC8481 #BCFC81 #81F9FC
split-complementary
#C181FC #F9FC81 #81FC84
monochromatic
#8609F9 #A445FB #C181FC #DEBDFD #F0E1FE
Accessibility & contrast
On white
2.69
#C181FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#C181FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181FC
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181FC | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#B896B3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c181fc; /* rgb */ color: rgb(193, 129, 252); /* oklch */ color: oklch(71.8% 0.182 306.4);
Tailwind
colors: {
custom: {
50: '#d6a7fe',
500: '#c181fc',
950: '#000000',
},
}SCSS
$custom: #c181fc; $custom-light: #d6a7fe; $custom-dark: #000000;
JSON
{
"hex": "#c181fc",
"rgb": {
"r": 193,
"g": 129,
"b": 252
},
"hsl": {
"h": 271.22,
"s": 95.349,
"l": 74.706
},
"oklch": {
"l": 0.71799,
"c": 0.18164,
"h": 306.4
},
"luminance": 0.34066
}Semantic roles & 50–950 ramp
primary
#C181FC
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86