#A181DB#A181DB
#A181DB is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.0% C 0.133 H 299.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A181DB |
|---|---|
| RGB | rgb(161, 129, 219) |
| HSL | hsl(261, 56%, 68%) |
| HSV | hsv(261, 41%, 86%) |
| CMYK | cmyk(26.5%, 41.1%, 0%, 14.1%) |
| CIE-LAB | lab(60.24, 30.88, -41.67) |
| CIE-LCH | lch(60.24, 51.87, 306.54°) |
| OKLab | oklab(66.96% 0.0649 -0.1164) |
| OKLCH | oklch(66.96% 0.133 299.2) |
| XYZ | xyz(35.3314, 28.3918, 70.6229) |
| Luminance | 0.2839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.61
Wisteria
#A87DC2
ΔE00 5.98
Perrywinkle
#8F8CE7
ΔE00 6.71
Light Urple
#B36FF6
ΔE00 7.03
Light Purple
#BF77F6
ΔE00 7.05
Pale Purple
#B790D4
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181DB #BBDB81
analogous
#818EDB #A181DB #CE81DB
triadic
#A181DB #DBA181 #81DBA1
tetradic
#A181DB #DB818E #BBDB81 #81DBCE
square
#A181DB #DB818E #BBDB81 #81DBCE
split-complementary
#A181DB #DBCE81 #8EDB81
monochromatic
#5F32AF #7D51CD #A181DB #C5B1E9 #E8E0F6
Accessibility & contrast
On white
3.14
#A181DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#A181DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A181DB
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181DB | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#9690A3
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a181db; /* rgb */ color: rgb(161, 129, 219); /* oklch */ color: oklch(67.0% 0.133 299.2);
Tailwind
colors: {
custom: {
50: '#bfa6e6',
500: '#a181db',
950: '#000000',
},
}SCSS
$custom: #a181db; $custom-light: #bfa6e6; $custom-dark: #000000;
JSON
{
"hex": "#a181db",
"rgb": {
"r": 161,
"g": 129,
"b": 219
},
"hsl": {
"h": 261.333,
"s": 55.556,
"l": 68.235
},
"oklch": {
"l": 0.66962,
"c": 0.13327,
"h": 299.2
},
"luminance": 0.28392
}Semantic roles & 50–950 ramp
primary
#A181DB
secondary
#E0EACE
accent
#C3228A
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#120F16
muted
#817F84