#A462E8#A462E8
#A462E8 is a light, vivid violet. Relative luminance 0.225; OKLCH L 63.0% C 0.198 H 304.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A462E8 |
|---|---|
| RGB | rgb(164, 98, 232) |
| HSL | hsl(270, 74%, 65%) |
| HSV | hsv(270, 58%, 91%) |
| CMYK | cmyk(29.3%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(54.51, 51.87, -58.05) |
| CIE-LCH | lch(54.51, 77.84, 311.78°) |
| OKLab | oklab(62.99% 0.1106 -0.164) |
| OKLCH | oklch(62.99% 0.198 304) |
| XYZ | xyz(34.2398, 22.4542, 78.8585) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.29
Lightish Purple
#A552E6
ΔE00 3.64
Light Urple
#B36FF6
ΔE00 4.62
Mediumpurple
#9370DB
ΔE00 5.00
Bright Lavender
#C760FF
ΔE00 6.30
Mediumorchid
#BA55D3
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462E8 #A6E862
analogous
#6263E8 #A462E8 #E762E8
triadic
#A462E8 #E8A462 #62E8A4
tetradic
#A462E8 #E86263 #A6E862 #62E8E7
square
#A462E8 #E86263 #A6E862 #62E8E7
split-complementary
#A462E8 #E8E762 #63E862
monochromatic
#671BB5 #852DE0 #A462E8 #C397F0 #E2CDF8
Accessibility & contrast
On white
3.82
#A462E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#A462E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462E8
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462E8 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#987D9C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a462e8; /* rgb */ color: rgb(164, 98, 232); /* oklch */ color: oklch(63.0% 0.198 304.0);
Tailwind
colors: {
custom: {
50: '#c391f0',
500: '#a462e8',
950: '#000000',
},
}SCSS
$custom: #a462e8; $custom-light: #c391f0; $custom-dark: #000000;
JSON
{
"hex": "#a462e8",
"rgb": {
"r": 164,
"g": 98,
"b": 232
},
"hsl": {
"h": 269.552,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.62987,
"c": 0.19782,
"h": 304
},
"luminance": 0.22454
}Semantic roles & 50–950 ramp
primary
#A462E8
secondary
#D3EABC
accent
#D70F74
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85