#A162CE#A162CE
#A162CE is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.167 H 309.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A162CE |
|---|---|
| RGB | rgb(161, 98, 206) |
| HSL | hsl(275, 52%, 60%) |
| HSV | hsv(275, 52%, 81%) |
| CMYK | cmyk(21.8%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(52.70, 45.10, -46.25) |
| CIE-LCH | lch(52.70, 64.60, 314.28°) |
| OKLab | oklab(61.11% 0.1058 -0.1296) |
| OKLCH | oklch(61.11% 0.167 309.2) |
| XYZ | xyz(30.2041, 20.7691, 60.7982) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.62
Lightish Purple
#A552E6
ΔE00 4.98
Deep Lilac
#966EBD
ΔE00 5.00
Mediumorchid
#BA55D3
ΔE00 5.02
Deep Lavender
#8D5EB7
ΔE00 5.24
Mediumpurple
#9370DB
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162CE #8FCE62
analogous
#6B62CE #A162CE #CE62C5
triadic
#A162CE #CEA162 #62CEA1
tetradic
#A162CE #CE6B62 #8FCE62 #62C5CE
square
#A162CE #CE6B62 #8FCE62 #62C5CE
split-complementary
#A162CE #C5CE62 #62CE6B
monochromatic
#632B8A #843AB9 #A162CE #BD91DD #D9BFEB
Accessibility & contrast
On white
4.07
#A162CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#A162CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162CE
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162CE | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#437BD2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#9B758F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a162ce; /* rgb */ color: rgb(161, 98, 206); /* oklch */ color: oklch(61.1% 0.167 309.2);
Tailwind
colors: {
custom: {
50: '#bf91dd',
500: '#a162ce',
950: '#000000',
},
}SCSS
$custom: #a162ce; $custom-light: #bf91dd; $custom-dark: #000000;
JSON
{
"hex": "#a162ce",
"rgb": {
"r": 161,
"g": 98,
"b": 206
},
"hsl": {
"h": 275,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.61107,
"c": 0.1673,
"h": 309.2
},
"luminance": 0.20769
}Semantic roles & 50–950 ramp
primary
#A162CE
secondary
#C2DBB1
accent
#DC4C88
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83