#C181F2#C181F2
#C181F2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.170 H 308.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C181F2 |
|---|---|
| RGB | rgb(193, 129, 242) |
| HSL | hsl(274, 81%, 73%) |
| HSV | hsv(274, 47%, 95%) |
| CMYK | cmyk(20.2%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(64.52, 45.10, -47.48) |
| CIE-LCH | lch(64.52, 65.49, 313.53°) |
| OKLab | oklab(71.27% 0.1066 -0.1325) |
| OKLCH | oklch(71.27% 0.17 308.8) |
| XYZ | xyz(45.8665, 33.4494, 88.0273) |
| Luminance | 0.3345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.58
Liliac
#C48EFD
ΔE00 3.41
Easter Purple
#C071FE
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 5.32
Baby Purple
#CA9BF7
ΔE00 6.55
Bright Lavender
#C760FF
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181F2 #B2F281
analogous
#8881F2 #C181F2 #F281EB
triadic
#C181F2 #F2C181 #81F2C1
tetradic
#C181F2 #F28881 #B2F281 #81EBF2
square
#C181F2 #F28881 #B2F281 #81EBF2
split-complementary
#C181F2 #EBF281 #81F288
monochromatic
#8A17E1 #A64AEC #C181F2 #DCB8F8 #F1E3FC
Accessibility & contrast
On white
2.73
#C181F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#C181F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181F2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181F2 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#BA93AE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c181f2; /* rgb */ color: rgb(193, 129, 242); /* oklch */ color: oklch(71.3% 0.170 308.8);
Tailwind
colors: {
custom: {
50: '#d6a7f7',
500: '#c181f2',
950: '#000000',
},
}SCSS
$custom: #c181f2; $custom-light: #d6a7f7; $custom-dark: #000000;
JSON
{
"hex": "#c181f2",
"rgb": {
"r": 193,
"g": 129,
"b": 242
},
"hsl": {
"h": 273.982,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.71272,
"c": 0.17006,
"h": 308.8
},
"luminance": 0.33449
}Semantic roles & 50–950 ramp
primary
#C181F2
secondary
#E4F4D7
accent
#DE0865
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85