#A462AA#A462AA
#A462AA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.6% C 0.129 H 324.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A462AA |
|---|---|
| RGB | rgb(164, 98, 170) |
| HSL | hsl(295, 30%, 53%) |
| HSV | hsv(295, 42%, 67%) |
| CMYK | cmyk(3.5%, 42.4%, 0%, 33.3%) |
| CIE-LAB | lab(51.30, 38.31, -27.64) |
| CIE-LCH | lch(51.30, 47.24, 324.19°) |
| OKLab | oklab(59.58% 0.1043 -0.0758) |
| OKLCH | oklch(59.58% 0.129 324) |
| XYZ | xyz(26.9325, 19.5313, 40.3737) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.07
Dark Lilac
#9C6DA5
ΔE00 4.10
Amethyst
#9B5FC0
ΔE00 5.90
Deep Lilac
#966EBD
ΔE00 6.67
Purpleish
#98568D
ΔE00 6.69
Purplish
#94568C
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462AA #68AA62
analogous
#8062AA #A462AA #AA628C
triadic
#A462AA #AAA462 #62AAA4
tetradic
#A462AA #AA8062 #68AA62 #628CAA
square
#A462AA #AA8062 #68AA62 #628CAA
split-complementary
#A462AA #8CAA62 #62AA80
monochromatic
#5B335E #814986 #A462AA #BB8ABF #D2B1D5
Accessibility & contrast
On white
4.28
#A462AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#A462AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462AA
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462AA | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#A76A7E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a462aa; /* rgb */ color: rgb(164, 98, 170); /* oklch */ color: oklch(59.6% 0.129 324.0);
Tailwind
colors: {
custom: {
50: '#c090c3',
500: '#a462aa',
950: '#000000',
},
}SCSS
$custom: #a462aa; $custom-light: #c090c3; $custom-dark: #000000;
JSON
{
"hex": "#a462aa",
"rgb": {
"r": 164,
"g": 98,
"b": 170
},
"hsl": {
"h": 295,
"s": 29.752,
"l": 52.549
},
"oklch": {
"l": 0.59579,
"c": 0.1289,
"h": 324
},
"luminance": 0.1953
}Semantic roles & 50–950 ramp
primary
#A462AA
secondary
#A7C4A4
accent
#C6626A
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120D12
muted
#817D81