#A05EC2#A05EC2
#A05EC2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.160 H 313.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A05EC2 |
|---|---|
| RGB | rgb(160, 94, 194) |
| HSL | hsl(280, 45%, 56%) |
| HSV | hsv(280, 52%, 76%) |
| CMYK | cmyk(17.5%, 51.5%, 0%, 23.9%) |
| CIE-LAB | lab(51.12, 44.30, -41.88) |
| CIE-LCH | lch(51.12, 60.96, 316.61°) |
| OKLab | oklab(59.71% 0.1089 -0.1169) |
| OKLCH | oklch(59.71% 0.16 313) |
| XYZ | xyz(28.2359, 19.3747, 53.2808) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.03
Deep Lavender
#8D5EB7
ΔE00 4.06
Mediumorchid
#BA55D3
ΔE00 5.09
Deep Lilac
#966EBD
ΔE00 5.15
Lightish Purple
#A552E6
ΔE00 6.14
Soft Purple
#A66FB5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A05EC2 #80C25E
analogous
#6E5EC2 #A05EC2 #C25EB2
triadic
#A05EC2 #C2A05E #5EC2A0
tetradic
#A05EC2 #C26E5E #80C25E #5EB2C2
square
#A05EC2 #C26E5E #80C25E #5EB2C2
split-complementary
#A05EC2 #B2C25E #5EC26E
monochromatic
#5F2E78 #823EA4 #A05EC2 #BA8AD3 #D4B7E4
Accessibility & contrast
On white
4.31
#A05EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#A05EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A05EC2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A05EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A05EC2 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#9D6E87
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a05ec2; /* rgb */ color: rgb(160, 94, 194); /* oklch */ color: oklch(59.7% 0.160 313.0);
Tailwind
colors: {
custom: {
50: '#be8ed5',
500: '#a05ec2',
950: '#000000',
},
}SCSS
$custom: #a05ec2; $custom-light: #be8ed5; $custom-dark: #000000;
JSON
{
"hex": "#a05ec2",
"rgb": {
"r": 160,
"g": 94,
"b": 194
},
"hsl": {
"h": 279.6,
"s": 45.045,
"l": 56.471
},
"oklch": {
"l": 0.59713,
"c": 0.15975,
"h": 313
},
"luminance": 0.19374
}Semantic roles & 50–950 ramp
primary
#A05EC2
secondary
#B7D2A9
accent
#D5537F
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83