#A162BA#A162BA
#A162BA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.0% C 0.145 H 315.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A162BA |
|---|---|
| RGB | rgb(161, 98, 186) |
| HSL | hsl(283, 39%, 56%) |
| HSV | hsv(283, 47%, 73%) |
| CMYK | cmyk(13.4%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(51.68, 40.69, -36.38) |
| CIE-LCH | lch(51.68, 54.58, 318.20°) |
| OKLab | oklab(60.02% 0.1035 -0.1009) |
| OKLCH | oklch(60.02% 0.145 315.7) |
| XYZ | xyz(27.9272, 19.8584, 48.8068) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.36
Deep Lilac
#966EBD
ΔE00 4.42
Soft Purple
#A66FB5
ΔE00 4.58
Deep Lavender
#8D5EB7
ΔE00 4.63
Mediumorchid
#BA55D3
ΔE00 5.90
Dark Lilac
#9C6DA5
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162BA #7BBA62
analogous
#7562BA #A162BA #BA62A7
triadic
#A162BA #BAA162 #62BAA1
tetradic
#A162BA #BA7562 #7BBA62 #62A7BA
square
#A162BA #BA7562 #7BBA62 #62A7BA
split-complementary
#A162BA #A7BA62 #62BA75
monochromatic
#5E3170 #82449B #A162BA #BA8DCD #D4B7DF
Accessibility & contrast
On white
4.22
#A162BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#A162BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162BA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162BA | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#A06F85
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a162ba; /* rgb */ color: rgb(161, 98, 186); /* oklch */ color: oklch(60.0% 0.145 315.7);
Tailwind
colors: {
custom: {
50: '#be90cf',
500: '#a162ba',
950: '#000000',
},
}SCSS
$custom: #a162ba; $custom-light: #be90cf; $custom-dark: #000000;
JSON
{
"hex": "#a162ba",
"rgb": {
"r": 161,
"g": 98,
"b": 186
},
"hsl": {
"h": 282.955,
"s": 38.938,
"l": 55.686
},
"oklch": {
"l": 0.60019,
"c": 0.14457,
"h": 315.7
},
"luminance": 0.19858
}Semantic roles & 50–950 ramp
primary
#A162BA
secondary
#B4CEAA
accent
#CF597A
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82