#A162F1#A162F1
#A162F1 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.207 H 300.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A162F1 |
|---|---|
| RGB | rgb(161, 98, 241) |
| HSL | hsl(266, 84%, 66%) |
| HSV | hsv(266, 59%, 95%) |
| CMYK | cmyk(33.2%, 59.3%, 0%, 5.5%) |
| CIE-LAB | lab(54.72, 53.33, -62.75) |
| CIE-LCH | lch(54.72, 82.35, 310.36°) |
| OKLab | oklab(63.25% 0.1066 -0.1779) |
| OKLCH | oklch(63.25% 0.207 300.9) |
| XYZ | xyz(34.9390, 22.6631, 85.7357) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.78
Lightish Purple
#A552E6
ΔE00 4.14
Light Urple
#B36FF6
ΔE00 4.72
Mediumpurple
#9370DB
ΔE00 5.15
Purpley
#8756E4
ΔE00 6.21
Bright Lavender
#C760FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162F1 #B2F162
analogous
#626BF1 #A162F1 #E962F1
triadic
#A162F1 #F1A162 #62F1A1
tetradic
#A162F1 #F1626B #B2F162 #62F1E9
square
#A162F1 #F1626B #B2F162 #62F1E9
split-complementary
#A162F1 #F1E962 #6BF162
monochromatic
#6212C7 #7F2AEC #A162F1 #C39AF6 #E4D2FB
Accessibility & contrast
On white
3.80
#A162F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#A162F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162F1
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162F1 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0982F6
Deuteranopia (green-blind)
#3582EE
Tritanopia (blue-blind)
#9080A0
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a162f1; /* rgb */ color: rgb(161, 98, 241); /* oklch */ color: oklch(63.2% 0.207 300.9);
Tailwind
colors: {
custom: {
50: '#c191f6',
500: '#a162f1',
950: '#000000',
},
}SCSS
$custom: #a162f1; $custom-light: #c191f6; $custom-dark: #000000;
JSON
{
"hex": "#a162f1",
"rgb": {
"r": 161,
"g": 98,
"b": 241
},
"hsl": {
"h": 266.434,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.63248,
"c": 0.20743,
"h": 300.9
},
"luminance": 0.22663
}Semantic roles & 50–950 ramp
primary
#A162F1
secondary
#DAEFC0
accent
#E00580
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85