#A162EF#A162EF
#A162EF is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.1% C 0.205 H 301.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A162EF |
|---|---|
| RGB | rgb(161, 98, 239) |
| HSL | hsl(267, 82%, 66%) |
| HSV | hsv(267, 59%, 94%) |
| CMYK | cmyk(32.6%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(54.60, 52.85, -61.83) |
| CIE-LCH | lch(54.60, 81.34, 310.52°) |
| OKLab | oklab(63.12% 0.1067 -0.1752) |
| OKLCH | oklch(63.12% 0.205 301.3) |
| XYZ | xyz(34.6419, 22.5443, 84.1710) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.81
Lightish Purple
#A552E6
ΔE00 3.99
Light Urple
#B36FF6
ΔE00 4.75
Mediumpurple
#9370DB
ΔE00 5.03
Purpley
#8756E4
ΔE00 6.15
Bright Lavender
#C760FF
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162EF #B0EF62
analogous
#6269EF #A162EF #E862EF
triadic
#A162EF #EFA162 #62EFA1
tetradic
#A162EF #EF6269 #B0EF62 #62EFE8
square
#A162EF #EF6269 #B0EF62 #62EFE8
split-complementary
#A162EF #EFE862 #69EF62
monochromatic
#6214C3 #802AE9 #A162EF #C29AF5 #E4D1FA
Accessibility & contrast
On white
3.81
#A162EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#A162EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162EF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162EF | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1282F4
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#917F9F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a162ef; /* rgb */ color: rgb(161, 98, 239); /* oklch */ color: oklch(63.1% 0.205 301.3);
Tailwind
colors: {
custom: {
50: '#c191f5',
500: '#a162ef',
950: '#000000',
},
}SCSS
$custom: #a162ef; $custom-light: #c191f5; $custom-dark: #000000;
JSON
{
"hex": "#a162ef",
"rgb": {
"r": 161,
"g": 98,
"b": 239
},
"hsl": {
"h": 266.809,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.63118,
"c": 0.20515,
"h": 301.3
},
"luminance": 0.22544
}Semantic roles & 50–950 ramp
primary
#A162EF
secondary
#D9EEBF
accent
#DE087E
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85