#C181F1#C181F1
#C181F1 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.169 H 309.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C181F1 |
|---|---|
| RGB | rgb(193, 129, 241) |
| HSL | hsl(274, 80%, 73%) |
| HSV | hsv(274, 46%, 95%) |
| CMYK | cmyk(19.9%, 46.5%, 0%, 5.5%) |
| CIE-LAB | lab(64.48, 44.88, -47.01) |
| CIE-LCH | lch(64.48, 64.99, 313.67°) |
| OKLab | oklab(71.22% 0.1065 -0.1311) |
| OKLCH | oklch(71.22% 0.169 309.1) |
| XYZ | xyz(45.7167, 33.3895, 87.2385) |
| Luminance | 0.3339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.65
Liliac
#C48EFD
ΔE00 3.48
Easter Purple
#C071FE
ΔE00 4.33
Light Urple
#B36FF6
ΔE00 5.38
Baby Purple
#CA9BF7
ΔE00 6.53
Bright Lavender
#C760FF
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181F1 #B1F181
analogous
#8981F1 #C181F1 #F181E9
triadic
#C181F1 #F1C181 #81F1C1
tetradic
#C181F1 #F18981 #B1F181 #81E9F1
square
#C181F1 #F18981 #B1F181 #81E9F1
split-complementary
#C181F1 #E9F181 #81F189
monochromatic
#8A19DF #A64AEB #C181F1 #DCB8F7 #F1E3FC
Accessibility & contrast
On white
2.74
#C181F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#C181F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181F1
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181F1 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#BB93AE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c181f1; /* rgb */ color: rgb(193, 129, 241); /* oklch */ color: oklch(71.2% 0.169 309.1);
Tailwind
colors: {
custom: {
50: '#d6a7f6',
500: '#c181f1',
950: '#000000',
},
}SCSS
$custom: #c181f1; $custom-light: #d6a7f6; $custom-dark: #000000;
JSON
{
"hex": "#c181f1",
"rgb": {
"r": 193,
"g": 129,
"b": 241
},
"hsl": {
"h": 274.286,
"s": 80,
"l": 72.549
},
"oklch": {
"l": 0.7122,
"c": 0.1689,
"h": 309.1
},
"luminance": 0.33389
}Semantic roles & 50–950 ramp
primary
#C181F1
secondary
#E3F4D7
accent
#DC0964
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85