#A462E4#A462E4
#A462E4 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.193 H 304.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A462E4 |
|---|---|
| RGB | rgb(164, 98, 228) |
| HSL | hsl(270, 71%, 64%) |
| HSV | hsv(270, 57%, 89%) |
| CMYK | cmyk(28.1%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(54.27, 50.93, -56.18) |
| CIE-LCH | lch(54.27, 75.83, 312.19°) |
| OKLab | oklab(62.74% 0.1105 -0.1585) |
| OKLCH | oklch(62.74% 0.193 304.9) |
| XYZ | xyz(33.6781, 22.2295, 75.9002) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.73
Lightish Purple
#A552E6
ΔE00 3.58
Light Urple
#B36FF6
ΔE00 4.86
Mediumpurple
#9370DB
ΔE00 4.94
Mediumorchid
#BA55D3
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462E4 #A2E462
analogous
#6362E4 #A462E4 #E462E3
triadic
#A462E4 #E4A462 #62E4A4
tetradic
#A462E4 #E46362 #A2E462 #62E3E4
square
#A462E4 #E46362 #A2E462 #62E3E4
split-complementary
#A462E4 #E3E462 #62E463
monochromatic
#671EAE #862EDB #A462E4 #C296ED #E1CAF6
Accessibility & contrast
On white
3.86
#A462E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#A462E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462E4
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462E4 | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#997B9A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a462e4; /* rgb */ color: rgb(164, 98, 228); /* oklch */ color: oklch(62.7% 0.193 304.9);
Tailwind
colors: {
custom: {
50: '#c291ed',
500: '#a462e4',
950: '#000000',
},
}SCSS
$custom: #a462e4; $custom-light: #c291ed; $custom-dark: #000000;
JSON
{
"hex": "#a462e4",
"rgb": {
"r": 164,
"g": 98,
"b": 228
},
"hsl": {
"h": 270.462,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.62739,
"c": 0.19328,
"h": 304.9
},
"luminance": 0.22229
}Semantic roles & 50–950 ramp
primary
#A462E4
secondary
#D1E8BA
accent
#D31371
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84