#A05FD4#A05FD4
#A05FD4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.178 H 307.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A05FD4 |
|---|---|
| RGB | rgb(160, 95, 212) |
| HSL | hsl(273, 58%, 60%) |
| HSV | hsv(273, 55%, 83%) |
| CMYK | cmyk(24.5%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(52.30, 47.81, -50.31) |
| CIE-LCH | lch(52.30, 69.40, 313.54°) |
| OKLab | oklab(60.9% 0.1089 -0.1415) |
| OKLCH | oklch(60.9% 0.179 307.6) |
| XYZ | xyz(30.4707, 20.4118, 64.6093) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.39
Lightish Purple
#A552E6
ΔE00 3.70
Lighter Purple
#A55AF4
ΔE00 4.71
Mediumorchid
#BA55D3
ΔE00 5.18
Deep Lavender
#8D5EB7
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A05FD4 #93D45F
analogous
#655FD4 #A05FD4 #D45FCE
triadic
#A05FD4 #D4A05F #5FD4A0
tetradic
#A05FD4 #D4655F #93D45F #5FCED4
square
#A05FD4 #D4655F #93D45F #5FCED4
split-complementary
#A05FD4 #CED45F #5FD465
monochromatic
#622791 #8334C2 #A05FD4 #BD8FE1 #D9BFEE
Accessibility & contrast
On white
4.13
#A05FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#A05FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A05FD4
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A05FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A05FD4 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#4F7DD1
Tritanopia (blue-blind)
#987490
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a05fd4; /* rgb */ color: rgb(160, 95, 212); /* oklch */ color: oklch(60.9% 0.178 307.6);
Tailwind
colors: {
custom: {
50: '#bf8fe2',
500: '#a05fd4',
950: '#000000',
},
}SCSS
$custom: #a05fd4; $custom-light: #bf8fe2; $custom-dark: #000000;
JSON
{
"hex": "#a05fd4",
"rgb": {
"r": 160,
"g": 95,
"b": 212
},
"hsl": {
"h": 273.333,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.60896,
"c": 0.1785,
"h": 307.6
},
"luminance": 0.20411
}Semantic roles & 50–950 ramp
primary
#A05FD4
secondary
#C5DEB1
accent
#C5206A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83