#A462E1#A462E1
#A462E1 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.190 H 305.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A462E1 |
|---|---|
| RGB | rgb(164, 98, 225) |
| HSL | hsl(271, 68%, 63%) |
| HSV | hsv(271, 56%, 88%) |
| CMYK | cmyk(27.1%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(54.10, 50.23, -54.77) |
| CIE-LCH | lch(54.10, 74.31, 312.52°) |
| OKLab | oklab(62.56% 0.1105 -0.1544) |
| OKLCH | oklch(62.56% 0.19 305.6) |
| XYZ | xyz(33.2652, 22.0644, 73.7260) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.11
Lightish Purple
#A552E6
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 4.95
Light Urple
#B36FF6
ΔE00 5.09
Amethyst
#9B5FC0
ΔE00 5.53
Mediumorchid
#BA55D3
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462E1 #9FE162
analogous
#6462E1 #A462E1 #E162DE
triadic
#A462E1 #E1A462 #62E1A4
tetradic
#A462E1 #E16462 #9FE162 #62DEE1
square
#A462E1 #E16462 #9FE162 #62DEE1
split-complementary
#A462E1 #DEE162 #62E164
monochromatic
#6720A8 #862FD7 #A462E1 #C295EB #E0C9F5
Accessibility & contrast
On white
3.88
#A462E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#A462E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462E1
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462E1 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#9A7A98
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a462e1; /* rgb */ color: rgb(164, 98, 225); /* oklch */ color: oklch(62.6% 0.190 305.6);
Tailwind
colors: {
custom: {
50: '#c291eb',
500: '#a462e1',
950: '#000000',
},
}SCSS
$custom: #a462e1; $custom-light: #c291eb; $custom-dark: #000000;
JSON
{
"hex": "#a462e1",
"rgb": {
"r": 164,
"g": 98,
"b": 225
},
"hsl": {
"h": 271.181,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.62555,
"c": 0.18988,
"h": 305.6
},
"luminance": 0.22064
}Semantic roles & 50–950 ramp
primary
#A462E1
secondary
#CFE6B9
accent
#D0166F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84