#A581DF#A581DF
#A581DF is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.5% C 0.139 H 300.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A581DF |
|---|---|
| RGB | rgb(165, 129, 223) |
| HSL | hsl(263, 59%, 69%) |
| HSV | hsv(263, 42%, 87%) |
| CMYK | cmyk(26%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(60.81, 32.98, -42.99) |
| CIE-LCH | lch(60.81, 54.19, 307.49°) |
| OKLab | oklab(67.54% 0.0704 -0.1201) |
| OKLCH | oklch(67.54% 0.139 300.4) |
| XYZ | xyz(36.6836, 29.0274, 73.4680) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.84
Light Purple
#BF77F6
ΔE00 6.15
Wisteria
#A87DC2
ΔE00 6.17
Light Urple
#B36FF6
ΔE00 6.32
Liliac
#C48EFD
ΔE00 6.79
Pale Purple
#B790D4
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A581DF #BBDF81
analogous
#818CDF #A581DF #D481DF
triadic
#A581DF #DFA581 #81DFA5
tetradic
#A581DF #DF818C #BBDF81 #81DFD4
square
#A581DF #DF818C #BBDF81 #81DFD4
split-complementary
#A581DF #DFD481 #8CDF81
monochromatic
#632FB7 #8250D3 #A581DF #C8B2EB #EBE3F8
Accessibility & contrast
On white
3.09
#A581DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#A581DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A581DF
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A581DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A581DF | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6892E2
Deuteranopia (green-blind)
#6F92DD
Tritanopia (blue-blind)
#9A91A5
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a581df; /* rgb */ color: rgb(165, 129, 223); /* oklch */ color: oklch(67.5% 0.139 300.4);
Tailwind
colors: {
custom: {
50: '#c1a6e9',
500: '#a581df',
950: '#000000',
},
}SCSS
$custom: #a581df; $custom-light: #c1a6e9; $custom-dark: #000000;
JSON
{
"hex": "#a581df",
"rgb": {
"r": 165,
"g": 129,
"b": 223
},
"hsl": {
"h": 262.979,
"s": 59.494,
"l": 69.02
},
"oklch": {
"l": 0.67539,
"c": 0.13923,
"h": 300.4
},
"luminance": 0.29028
}Semantic roles & 50–950 ramp
primary
#A581DF
secondary
#E1ECD0
accent
#C71E87
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84