#C181FB#C181FB
#C181FB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.180 H 306.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C181FB |
|---|---|
| RGB | rgb(193, 129, 251) |
| HSL | hsl(271, 94%, 75%) |
| HSV | hsv(271, 49%, 98%) |
| CMYK | cmyk(23.1%, 48.6%, 0%, 1.6%) |
| CIE-LAB | lab(64.97, 47.10, -51.73) |
| CIE-LCH | lch(64.97, 69.96, 312.32°) |
| OKLab | oklab(71.75% 0.1077 -0.1449) |
| OKLCH | oklch(71.75% 0.18 306.6) |
| XYZ | xyz(47.2516, 34.0034, 95.3221) |
| Luminance | 0.3400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.43
Liliac
#C48EFD
ΔE00 3.16
Easter Purple
#C071FE
ΔE00 3.69
Light Urple
#B36FF6
ΔE00 4.98
Baby Purple
#CA9BF7
ΔE00 6.85
Bright Lavender
#C760FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C181FB #BBFB81
analogous
#8481FB #C181FB #FB81F8
triadic
#C181FB #FBC181 #81FBC1
tetradic
#C181FB #FB8481 #BBFB81 #81F8FB
square
#C181FB #FB8481 #BBFB81 #81F8FB
split-complementary
#C181FB #F8FB81 #81FB84
monochromatic
#870AF7 #A446F9 #C181FB #DEBCFD #F0E1FE
Accessibility & contrast
On white
2.69
#C181FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#C181FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C181FB
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C181FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C181FB | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#B896B2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c181fb; /* rgb */ color: rgb(193, 129, 251); /* oklch */ color: oklch(71.7% 0.180 306.6);
Tailwind
colors: {
custom: {
50: '#d6a7fd',
500: '#c181fb',
950: '#000000',
},
}SCSS
$custom: #c181fb; $custom-light: #d6a7fd; $custom-dark: #000000;
JSON
{
"hex": "#c181fb",
"rgb": {
"r": 193,
"g": 129,
"b": 251
},
"hsl": {
"h": 271.475,
"s": 93.846,
"l": 74.51
},
"oklch": {
"l": 0.71745,
"c": 0.18049,
"h": 306.6
},
"luminance": 0.34003
}Semantic roles & 50–950 ramp
primary
#C181FB
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86