#A262AA#A262AA
#A262AA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.3% C 0.128 H 322.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A262AA |
|---|---|
| RGB | rgb(162, 98, 170) |
| HSL | hsl(293, 30%, 53%) |
| HSV | hsv(293, 42%, 67%) |
| CMYK | cmyk(4.7%, 42.4%, 0%, 33.3%) |
| CIE-LAB | lab(51.06, 37.69, -28.04) |
| CIE-LCH | lch(51.06, 46.97, 323.35°) |
| OKLab | oklab(59.34% 0.1019 -0.0769) |
| OKLCH | oklch(59.34% 0.128 322.9) |
| XYZ | xyz(26.5229, 19.3201, 40.3545) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 4.03
Soft Purple
#A66FB5
ΔE00 4.11
Amethyst
#9B5FC0
ΔE00 5.61
Deep Lilac
#966EBD
ΔE00 6.38
Purpleish
#98568D
ΔE00 6.66
Deep Lavender
#8D5EB7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262AA #6AAA62
analogous
#7E62AA #A262AA #AA628E
triadic
#A262AA #AAA262 #62AAA2
tetradic
#A262AA #AA7E62 #6AAA62 #628EAA
square
#A262AA #AA7E62 #6AAA62 #628EAA
split-complementary
#A262AA #8EAA62 #62AA7E
monochromatic
#5A335E #7F4986 #A262AA #BA8ABF #D1B1D5
Accessibility & contrast
On white
4.32
#A262AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#A262AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262AA
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262AA | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#A46A7E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a262aa; /* rgb */ color: rgb(162, 98, 170); /* oklch */ color: oklch(59.3% 0.128 322.9);
Tailwind
colors: {
custom: {
50: '#bf90c3',
500: '#a262aa',
950: '#000000',
},
}SCSS
$custom: #a262aa; $custom-light: #bf90c3; $custom-dark: #000000;
JSON
{
"hex": "#a262aa",
"rgb": {
"r": 162,
"g": 98,
"b": 170
},
"hsl": {
"h": 293.333,
"s": 29.752,
"l": 52.549
},
"oklch": {
"l": 0.59343,
"c": 0.12766,
"h": 322.9
},
"luminance": 0.19319
}Semantic roles & 50–950 ramp
primary
#A262AA
secondary
#A8C4A4
accent
#C6626D
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D12
muted
#817D81