#A162F6#A162F6
#A162F6 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.213 H 300.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A162F6 |
|---|---|
| RGB | rgb(161, 98, 246) |
| HSL | hsl(266, 89%, 67%) |
| HSV | hsv(266, 60%, 96%) |
| CMYK | cmyk(34.6%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(55.04, 54.55, -65.03) |
| CIE-LCH | lch(55.04, 84.88, 309.99°) |
| OKLab | oklab(63.58% 0.1065 -0.1846) |
| OKLCH | oklch(63.58% 0.213 300) |
| XYZ | xyz(35.6961, 22.9660, 89.7232) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.90
Lightish Purple
#A552E6
ΔE00 4.55
Light Urple
#B36FF6
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.49
Purpley
#8756E4
ΔE00 6.41
Bright Lavender
#C760FF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162F6 #B7F662
analogous
#626DF6 #A162F6 #EB62F6
triadic
#A162F6 #F6A162 #62F6A1
tetradic
#A162F6 #F6626D #B7F662 #62F6EB
square
#A162F6 #F6626D #B7F662 #62F6EB
split-complementary
#A162F6 #F6EB62 #6DF662
monochromatic
#600CD2 #7E28F3 #A162F6 #C49CF9 #E6D6FD
Accessibility & contrast
On white
3.75
#A162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#A162F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162F6
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162F6 | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#2D83F3
Tritanopia (blue-blind)
#8F82A3
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a162f6; /* rgb */ color: rgb(161, 98, 246); /* oklch */ color: oklch(63.6% 0.213 300.0);
Tailwind
colors: {
custom: {
50: '#c291fa',
500: '#a162f6',
950: '#000000',
},
}SCSS
$custom: #a162f6; $custom-light: #c291fa; $custom-dark: #000000;
JSON
{
"hex": "#a162f6",
"rgb": {
"r": 161,
"g": 98,
"b": 246
},
"hsl": {
"h": 265.541,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.63576,
"c": 0.21312,
"h": 300
},
"luminance": 0.22966
}Semantic roles & 50–950 ramp
primary
#A162F6
secondary
#DDF1C3
accent
#E60084
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85