#C181F7#C181F7
#C181F7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.176 H 307.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C181F7 |
|---|---|
| RGB | rgb(193, 129, 247) |
| HSL | hsl(273, 88%, 74%) |
| HSV | hsv(273, 48%, 97%) |
| CMYK | cmyk(21.9%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(64.77, 46.21, -49.85) |
| CIE-LCH | lch(64.77, 67.97, 312.83°) |
| OKLab | oklab(71.53% 0.1072 -0.1394) |
| OKLCH | oklch(71.53% 0.176 307.6) |
| XYZ | xyz(46.6277, 33.7539, 92.0364) |
| Luminance | 0.3375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.38
Liliac
#C48EFD
ΔE00 3.19
Easter Purple
#C071FE
ΔE00 3.87
Light Urple
#B36FF6
ΔE00 5.07
Baby Purple
#CA9BF7
ΔE00 6.68
Bright Lavender
#C760FF
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181F7 #B7F781
analogous
#8681F7 #C181F7 #F781F2
triadic
#C181F7 #F7C181 #81F7C1
tetradic
#C181F7 #F78681 #B7F781 #81F2F7
square
#C181F7 #F78681 #B7F781 #81F2F7
split-complementary
#C181F7 #F2F781 #81F786
monochromatic
#880FEE #A547F3 #C181F7 #DDBBFB #F1E2FD
Accessibility & contrast
On white
2.71
#C181F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#C181F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181F7
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181F7 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#B995B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c181f7; /* rgb */ color: rgb(193, 129, 247); /* oklch */ color: oklch(71.5% 0.176 307.6);
Tailwind
colors: {
custom: {
50: '#d6a7fa',
500: '#c181f7',
950: '#000000',
},
}SCSS
$custom: #c181f7; $custom-light: #d6a7fa; $custom-dark: #000000;
JSON
{
"hex": "#c181f7",
"rgb": {
"r": 193,
"g": 129,
"b": 247
},
"hsl": {
"h": 272.542,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.71533,
"c": 0.17585,
"h": 307.6
},
"luminance": 0.33753
}Semantic roles & 50–950 ramp
primary
#C181F7
secondary
#E4F5D6
accent
#E50169
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85