#A05FE1#A05FE1
#A05FE1 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.193 H 304.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A05FE1 |
|---|---|
| RGB | rgb(160, 95, 225) |
| HSL | hsl(270, 68%, 63%) |
| HSV | hsv(270, 58%, 88%) |
| CMYK | cmyk(28.9%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(53.05, 50.83, -56.46) |
| CIE-LCH | lch(53.05, 75.98, 312.00°) |
| OKLab | oklab(61.69% 0.1092 -0.1595) |
| OKLCH | oklch(61.69% 0.193 304.4) |
| XYZ | xyz(32.1770, 21.0944, 73.5960) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.76
Lightish Purple
#A552E6
ΔE00 2.85
Mediumpurple
#9370DB
ΔE00 5.16
Amethyst
#9B5FC0
ΔE00 5.43
Purpley
#8756E4
ΔE00 5.59
Light Urple
#B36FF6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A05FE1 #A0E15F
analogous
#5F5FE1 #A05FE1 #E15FE1
triadic
#A05FE1 #E1A05F #5FE1A0
tetradic
#A05FE1 #E15F5F #A0E15F #5FE1E1
square
#A05FE1 #E15F5F #A0E15F #5FE1E1
split-complementary
#A05FE1 #E1E15F #5FE15F
monochromatic
#631FA6 #812BD7 #A05FE1 #BF93EB #DDC6F4
Accessibility & contrast
On white
4.02
#A05FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#A05FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A05FE1
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A05FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A05FE1 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#267DE5
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#947997
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a05fe1; /* rgb */ color: rgb(160, 95, 225); /* oklch */ color: oklch(61.7% 0.193 304.4);
Tailwind
colors: {
custom: {
50: '#c08feb',
500: '#a05fe1',
950: '#000000',
},
}SCSS
$custom: #a05fe1; $custom-light: #c08feb; $custom-dark: #000000;
JSON
{
"hex": "#a05fe1",
"rgb": {
"r": 160,
"g": 95,
"b": 225
},
"hsl": {
"h": 270,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.6169,
"c": 0.19328,
"h": 304.4
},
"luminance": 0.21094
}Semantic roles & 50–950 ramp
primary
#A05FE1
secondary
#CEE5B6
accent
#D01573
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84