#A162F3#A162F3
#A162F3 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.4% C 0.210 H 300.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A162F3 |
|---|---|
| RGB | rgb(161, 98, 243) |
| HSL | hsl(266, 86%, 67%) |
| HSV | hsv(266, 60%, 95%) |
| CMYK | cmyk(33.7%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(54.85, 53.82, -63.66) |
| CIE-LCH | lch(54.85, 83.36, 310.21°) |
| OKLab | oklab(63.38% 0.1066 -0.1806) |
| OKLCH | oklch(63.38% 0.21 300.5) |
| XYZ | xyz(35.2394, 22.7833, 87.3177) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.80
Lightish Purple
#A552E6
ΔE00 4.29
Light Urple
#B36FF6
ΔE00 4.70
Mediumpurple
#9370DB
ΔE00 5.28
Purpley
#8756E4
ΔE00 6.28
Bright Lavender
#C760FF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162F3 #B4F362
analogous
#626CF3 #A162F3 #EA62F3
triadic
#A162F3 #F3A162 #62F3A1
tetradic
#A162F3 #F3626C #B4F362 #62F3EA
square
#A162F3 #F3626C #B4F362 #62F3EA
split-complementary
#A162F3 #F3EA62 #6CF362
monochromatic
#6110CB #7F29EF #A162F3 #C39BF7 #E5D4FC
Accessibility & contrast
On white
3.78
#A162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#A162F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162F3
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162F3 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#3282F0
Tritanopia (blue-blind)
#9081A1
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a162f3; /* rgb */ color: rgb(161, 98, 243); /* oklch */ color: oklch(63.4% 0.210 300.5);
Tailwind
colors: {
custom: {
50: '#c191f8',
500: '#a162f3',
950: '#000000',
},
}SCSS
$custom: #a162f3; $custom-light: #c191f8; $custom-dark: #000000;
JSON
{
"hex": "#a162f3",
"rgb": {
"r": 161,
"g": 98,
"b": 243
},
"hsl": {
"h": 266.069,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.63378,
"c": 0.2097,
"h": 300.5
},
"luminance": 0.22783
}Semantic roles & 50–950 ramp
primary
#A162F3
secondary
#DBF0C1
accent
#E20381
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85