#A252E6#A252E6
#A252E6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.217 H 305.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A252E6 |
|---|---|
| RGB | rgb(162, 82, 230) |
| HSL | hsl(272, 75%, 61%) |
| HSV | hsv(272, 64%, 90%) |
| CMYK | cmyk(29.6%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(51.19, 58.96, -62.27) |
| CIE-LCH | lch(51.19, 85.75, 313.43°) |
| OKLab | oklab(60.49% 0.1267 -0.1764) |
| OKLCH | oklch(60.49% 0.217 305.7) |
| XYZ | xyz(32.1974, 19.4294, 76.9016) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.56
Lighter Purple
#A55AF4
ΔE00 2.95
Purpley
#8756E4
ΔE00 4.86
Electric Purple
#AA23FF
ΔE00 6.23
Mediumorchid
#BA55D3
ΔE00 6.24
Amethyst
#9B5FC0
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A252E6 #96E652
analogous
#5852E6 #A252E6 #E652E0
triadic
#A252E6 #E6A252 #52E6A2
tetradic
#A252E6 #E65852 #96E652 #52E0E6
square
#A252E6 #E65852 #96E652 #52E0E6
split-complementary
#A252E6 #E0E652 #52E658
monochromatic
#6518A6 #8520DB #A252E6 #BF87EE #DBBDF5
Accessibility & contrast
On white
4.30
#A252E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#A252E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A252E6
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A252E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A252E6 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#967295
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a252e6; /* rgb */ color: rgb(162, 82, 230); /* oklch */ color: oklch(60.5% 0.217 305.7);
Tailwind
colors: {
custom: {
50: '#c287ef',
500: '#a252e6',
950: '#000000',
},
}SCSS
$custom: #a252e6; $custom-light: #c287ef; $custom-dark: #000000;
JSON
{
"hex": "#a252e6",
"rgb": {
"r": 162,
"g": 82,
"b": 230
},
"hsl": {
"h": 272.432,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.60486,
"c": 0.21724,
"h": 305.7
},
"luminance": 0.19429
}Semantic roles & 50–950 ramp
primary
#A252E6
secondary
#C8E6AE
accent
#D70F6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84