#A162F2#A162F2
#A162F2 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.3% C 0.209 H 300.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A162F2 |
|---|---|
| RGB | rgb(161, 98, 242) |
| HSL | hsl(266, 85%, 67%) |
| HSV | hsv(266, 60%, 95%) |
| CMYK | cmyk(33.5%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(54.79, 53.57, -63.20) |
| CIE-LCH | lch(54.79, 82.86, 310.29°) |
| OKLab | oklab(63.31% 0.1066 -0.1793) |
| OKLCH | oklch(63.31% 0.209 300.7) |
| XYZ | xyz(35.0888, 22.7230, 86.5246) |
| Luminance | 0.2272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.79
Lightish Purple
#A552E6
ΔE00 4.21
Light Urple
#B36FF6
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.21
Purpley
#8756E4
ΔE00 6.24
Bright Lavender
#C760FF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162F2 #B3F262
analogous
#626BF2 #A162F2 #E962F2
triadic
#A162F2 #F2A162 #62F2A1
tetradic
#A162F2 #F2626B #B3F262 #62F2E9
square
#A162F2 #F2626B #B3F262 #62F2E9
split-complementary
#A162F2 #F2E962 #6BF262
monochromatic
#6111C9 #7F29ED #A162F2 #C39BF7 #E5D3FB
Accessibility & contrast
On white
3.79
#A162F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#A162F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162F2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162F2 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0382F7
Deuteranopia (green-blind)
#3382EF
Tritanopia (blue-blind)
#9080A1
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a162f2; /* rgb */ color: rgb(161, 98, 242); /* oklch */ color: oklch(63.3% 0.209 300.7);
Tailwind
colors: {
custom: {
50: '#c191f7',
500: '#a162f2',
950: '#000000',
},
}SCSS
$custom: #a162f2; $custom-light: #c191f7; $custom-dark: #000000;
JSON
{
"hex": "#a162f2",
"rgb": {
"r": 161,
"g": 98,
"b": 242
},
"hsl": {
"h": 266.25,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.63313,
"c": 0.20857,
"h": 300.7
},
"luminance": 0.22723
}Semantic roles & 50–950 ramp
primary
#A162F2
secondary
#DBEFC1
accent
#E10481
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85