#A05FD2#A05FD2
#A05FD2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.176 H 308.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A05FD2 |
|---|---|
| RGB | rgb(160, 95, 210) |
| HSL | hsl(274, 56%, 60%) |
| HSV | hsv(274, 55%, 82%) |
| CMYK | cmyk(23.8%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(52.19, 47.35, -49.35) |
| CIE-LCH | lch(52.19, 68.39, 313.82°) |
| OKLab | oklab(60.78% 0.1088 -0.1386) |
| OKLCH | oklch(60.78% 0.176 308.1) |
| XYZ | xyz(30.2200, 20.3115, 63.2888) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.07
Lightish Purple
#A552E6
ΔE00 3.93
Lighter Purple
#A55AF4
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.09
Deep Lavender
#8D5EB7
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A05FD2 #91D25F
analogous
#665FD2 #A05FD2 #D25FCB
triadic
#A05FD2 #D2A05F #5FD2A0
tetradic
#A05FD2 #D2665F #91D25F #5FCBD2
square
#A05FD2 #D2665F #91D25F #5FCBD2
split-complementary
#A05FD2 #CBD25F #5FD266
monochromatic
#62288F #8336BE #A05FD2 #BC8FDF #D9BFED
Accessibility & contrast
On white
4.15
#A05FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#A05FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A05FD2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A05FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A05FD2 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#99748F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a05fd2; /* rgb */ color: rgb(160, 95, 210); /* oklch */ color: oklch(60.8% 0.176 308.1);
Tailwind
colors: {
custom: {
50: '#bf8fe0',
500: '#a05fd2',
950: '#000000',
},
}SCSS
$custom: #a05fd2; $custom-light: #bf8fe0; $custom-dark: #000000;
JSON
{
"hex": "#a05fd2",
"rgb": {
"r": 160,
"g": 95,
"b": 210
},
"hsl": {
"h": 273.913,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.60777,
"c": 0.17623,
"h": 308.1
},
"luminance": 0.20311
}Semantic roles & 50–950 ramp
primary
#A05FD2
secondary
#C4DDB0
accent
#DF488A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83