#A052F5#A052F5
#A052F5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.233 H 301.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A052F5 |
|---|---|
| RGB | rgb(160, 82, 245) |
| HSL | hsl(269, 89%, 64%) |
| HSV | hsv(269, 67%, 96%) |
| CMYK | cmyk(34.7%, 66.5%, 0%, 3.9%) |
| CIE-LAB | lab(51.95, 62.02, -69.46) |
| CIE-LCH | lch(51.95, 93.12, 311.76°) |
| OKLab | oklab(61.3% 0.1226 -0.1976) |
| OKLCH | oklch(61.3% 0.233 301.8) |
| XYZ | xyz(33.9920, 20.1006, 88.4575) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.09
Lightish Purple
#A552E6
ΔE00 2.41
Purpley
#8756E4
ΔE00 4.70
Electric Purple
#AA23FF
ΔE00 5.99
Neon Purple
#BC13FE
ΔE00 6.62
Bright Purple
#BE03FD
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A052F5 #A7F552
analogous
#5256F5 #A052F5 #F252F5
triadic
#A052F5 #F5A052 #52F5A0
tetradic
#A052F5 #F55256 #A7F552 #52F5F2
square
#A052F5 #F55256 #A7F552 #52F5F2
split-complementary
#A052F5 #F5F252 #56F552
monochromatic
#620BC1 #8018F2 #A052F5 #C08CF8 #E0C6FC
Accessibility & contrast
On white
4.18
#A052F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#A052F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A052F5
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A052F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A052F5 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#8E779D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a052f5; /* rgb */ color: rgb(160, 82, 245); /* oklch */ color: oklch(61.3% 0.233 301.8);
Tailwind
colors: {
custom: {
50: '#c288f9',
500: '#a052f5',
950: '#000000',
},
}SCSS
$custom: #a052f5; $custom-light: #c288f9; $custom-dark: #000000;
JSON
{
"hex": "#a052f5",
"rgb": {
"r": 160,
"g": 82,
"b": 245
},
"hsl": {
"h": 268.712,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.61301,
"c": 0.2326,
"h": 301.8
},
"luminance": 0.20101
}Semantic roles & 50–950 ramp
primary
#A052F5
secondary
#D3EEB5
accent
#E60078
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85