#C181EF#C181EF
#C181EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.1% C 0.167 H 309.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C181EF |
|---|---|
| RGB | rgb(193, 129, 239) |
| HSL | hsl(275, 77%, 72%) |
| HSV | hsv(275, 46%, 94%) |
| CMYK | cmyk(19.2%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(64.38, 44.44, -46.05) |
| CIE-LCH | lch(64.38, 64.00, 313.98°) |
| OKLab | oklab(71.12% 0.1062 -0.1283) |
| OKLCH | oklch(71.12% 0.167 309.6) |
| XYZ | xyz(45.4197, 33.2706, 85.6738) |
| Luminance | 0.3327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.82
Liliac
#C48EFD
ΔE00 3.63
Easter Purple
#C071FE
ΔE00 4.53
Light Urple
#B36FF6
ΔE00 5.53
Baby Purple
#CA9BF7
ΔE00 6.51
Pale Purple
#B790D4
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181EF #AFEF81
analogous
#8A81EF #C181EF #EF81E6
triadic
#C181EF #EFC181 #81EFC1
tetradic
#C181EF #EF8A81 #AFEF81 #81E6EF
square
#C181EF #EF8A81 #AFEF81 #81E6EF
split-complementary
#C181EF #E6EF81 #81EF8A
monochromatic
#8A1CDA #A64BE8 #C181EF #DCB7F6 #F2E4FC
Accessibility & contrast
On white
2.74
#C181EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#C181EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181EF
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181EF | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#BB93AD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c181ef; /* rgb */ color: rgb(193, 129, 239); /* oklch */ color: oklch(71.1% 0.167 309.6);
Tailwind
colors: {
custom: {
50: '#d6a7f4',
500: '#c181ef',
950: '#000000',
},
}SCSS
$custom: #c181ef; $custom-light: #d6a7f4; $custom-dark: #000000;
JSON
{
"hex": "#c181ef",
"rgb": {
"r": 193,
"g": 129,
"b": 239
},
"hsl": {
"h": 274.909,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.71117,
"c": 0.16659,
"h": 309.6
},
"luminance": 0.3327
}Semantic roles & 50–950 ramp
primary
#C181EF
secondary
#E3F3D8
accent
#DA0C62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85