#C181F8#C181F8
#C181F8 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.177 H 307.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C181F8 |
|---|---|
| RGB | rgb(193, 129, 248) |
| HSL | hsl(272, 89%, 74%) |
| HSV | hsv(272, 48%, 97%) |
| CMYK | cmyk(22.2%, 48%, 0%, 2.7%) |
| CIE-LAB | lab(64.82, 46.43, -50.32) |
| CIE-LCH | lch(64.82, 68.47, 312.70°) |
| OKLab | oklab(71.58% 0.1073 -0.1407) |
| OKLCH | oklch(71.58% 0.177 307.3) |
| XYZ | xyz(46.7825, 33.8158, 92.8513) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.38
Liliac
#C48EFD
ΔE00 3.17
Easter Purple
#C071FE
ΔE00 3.81
Light Urple
#B36FF6
ΔE00 5.04
Baby Purple
#CA9BF7
ΔE00 6.72
Bright Lavender
#C760FF
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181F8 #B8F881
analogous
#8681F8 #C181F8 #F881F4
triadic
#C181F8 #F8C181 #81F8C1
tetradic
#C181F8 #F88681 #B8F881 #81F4F8
square
#C181F8 #F88681 #B8F881 #81F4F8
split-complementary
#C181F8 #F4F881 #81F886
monochromatic
#880DF1 #A447F5 #C181F8 #DEBBFB #F1E2FD
Accessibility & contrast
On white
2.71
#C181F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#C181F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181F8
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181F8 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#B995B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c181f8; /* rgb */ color: rgb(193, 129, 248); /* oklch */ color: oklch(71.6% 0.177 307.3);
Tailwind
colors: {
custom: {
50: '#d6a7fb',
500: '#c181f8',
950: '#000000',
},
}SCSS
$custom: #c181f8; $custom-light: #d6a7fb; $custom-dark: #000000;
JSON
{
"hex": "#c181f8",
"rgb": {
"r": 193,
"g": 129,
"b": 248
},
"hsl": {
"h": 272.269,
"s": 89.474,
"l": 73.922
},
"oklch": {
"l": 0.71585,
"c": 0.177,
"h": 307.3
},
"luminance": 0.33815
}Semantic roles & 50–950 ramp
primary
#C181F8
secondary
#E4F5D6
accent
#E6006A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85