#A162F0#A162F0
#A162F0 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.206 H 301.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A162F0 |
|---|---|
| RGB | rgb(161, 98, 240) |
| HSL | hsl(267, 83%, 66%) |
| HSV | hsv(267, 59%, 94%) |
| CMYK | cmyk(32.9%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(54.66, 53.09, -62.29) |
| CIE-LCH | lch(54.66, 81.84, 310.44°) |
| OKLab | oklab(63.18% 0.1067 -0.1766) |
| OKLCH | oklch(63.18% 0.206 301.1) |
| XYZ | xyz(34.7901, 22.6035, 84.9512) |
| Luminance | 0.2260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.79
Lightish Purple
#A552E6
ΔE00 4.06
Light Urple
#B36FF6
ΔE00 4.73
Mediumpurple
#9370DB
ΔE00 5.09
Purpley
#8756E4
ΔE00 6.18
Bright Lavender
#C760FF
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162F0 #B1F062
analogous
#626AF0 #A162F0 #E862F0
triadic
#A162F0 #F0A162 #62F0A1
tetradic
#A162F0 #F0626A #B1F062 #62F0E8
square
#A162F0 #F0626A #B1F062 #62F0E8
split-complementary
#A162F0 #F0E862 #6AF062
monochromatic
#6213C5 #802AEB #A162F0 #C29AF5 #E4D2FB
Accessibility & contrast
On white
3.80
#A162F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#A162F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162F0
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162F0 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E82F5
Deuteranopia (green-blind)
#3682ED
Tritanopia (blue-blind)
#9180A0
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a162f0; /* rgb */ color: rgb(161, 98, 240); /* oklch */ color: oklch(63.2% 0.206 301.1);
Tailwind
colors: {
custom: {
50: '#c191f6',
500: '#a162f0',
950: '#000000',
},
}SCSS
$custom: #a162f0; $custom-light: #c191f6; $custom-dark: #000000;
JSON
{
"hex": "#a162f0",
"rgb": {
"r": 161,
"g": 98,
"b": 240
},
"hsl": {
"h": 266.62,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.63182,
"c": 0.20628,
"h": 301.1
},
"luminance": 0.22604
}Semantic roles & 50–950 ramp
primary
#A162F0
secondary
#DAEEC0
accent
#DF077F
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85