#C181F6#C181F6
#C181F6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.175 H 307.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C181F6 |
|---|---|
| RGB | rgb(193, 129, 246) |
| HSL | hsl(273, 87%, 74%) |
| HSV | hsv(273, 48%, 96%) |
| CMYK | cmyk(21.5%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(64.72, 45.99, -49.38) |
| CIE-LCH | lch(64.72, 67.47, 312.96°) |
| OKLab | oklab(71.48% 0.1071 -0.138) |
| OKLCH | oklch(71.48% 0.175 307.8) |
| XYZ | xyz(46.4739, 33.6923, 91.2259) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.40
Liliac
#C48EFD
ΔE00 3.22
Easter Purple
#C071FE
ΔE00 3.93
Light Urple
#B36FF6
ΔE00 5.11
Baby Purple
#CA9BF7
ΔE00 6.65
Bright Lavender
#C760FF
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181F6 #B6F681
analogous
#8681F6 #C181F6 #F681F0
triadic
#C181F6 #F6C181 #81F6C1
tetradic
#C181F6 #F68681 #B6F681 #81F0F6
square
#C181F6 #F68681 #B6F681 #81F0F6
split-complementary
#C181F6 #F0F681 #81F686
monochromatic
#8911EC #A548F2 #C181F6 #DDBAFA #F1E2FD
Accessibility & contrast
On white
2.71
#C181F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#C181F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181F6
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181F6 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639AFA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#B995B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c181f6; /* rgb */ color: rgb(193, 129, 246); /* oklch */ color: oklch(71.5% 0.175 307.8);
Tailwind
colors: {
custom: {
50: '#d6a7f9',
500: '#c181f6',
950: '#000000',
},
}SCSS
$custom: #c181f6; $custom-light: #d6a7f9; $custom-dark: #000000;
JSON
{
"hex": "#c181f6",
"rgb": {
"r": 193,
"g": 129,
"b": 246
},
"hsl": {
"h": 272.821,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.7148,
"c": 0.17468,
"h": 307.8
},
"luminance": 0.33692
}Semantic roles & 50–950 ramp
primary
#C181F6
secondary
#E4F5D6
accent
#E30268
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85