#A462EC#A462EC
#A462EC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.202 H 303.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A462EC |
|---|---|
| RGB | rgb(164, 98, 236) |
| HSL | hsl(269, 78%, 65%) |
| HSV | hsv(269, 58%, 93%) |
| CMYK | cmyk(30.5%, 58.5%, 0%, 7.5%) |
| CIE-LAB | lab(54.75, 52.81, -59.90) |
| CIE-LCH | lch(54.75, 79.86, 311.40°) |
| OKLab | oklab(63.24% 0.1105 -0.1695) |
| OKLCH | oklch(63.24% 0.202 303.1) |
| XYZ | xyz(34.8144, 22.6840, 81.8850) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.96
Lightish Purple
#A552E6
ΔE00 3.80
Light Urple
#B36FF6
ΔE00 4.44
Mediumpurple
#9370DB
ΔE00 5.12
Bright Lavender
#C760FF
ΔE00 6.15
Bright Lilac
#C95EFB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462EC #AAEC62
analogous
#6265EC #A462EC #E962EC
triadic
#A462EC #ECA462 #62ECA4
tetradic
#A462EC #EC6265 #AAEC62 #62ECE9
square
#A462EC #EC6265 #AAEC62 #62ECE9
split-complementary
#A462EC #ECE962 #65EC62
monochromatic
#6617BD #842BE5 #A462EC #C499F3 #E3CFF9
Accessibility & contrast
On white
3.79
#A462EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#A462EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462EC
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462EC | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#967E9E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a462ec; /* rgb */ color: rgb(164, 98, 236); /* oklch */ color: oklch(63.2% 0.202 303.1);
Tailwind
colors: {
custom: {
50: '#c391f3',
500: '#a462ec',
950: '#000000',
},
}SCSS
$custom: #a462ec; $custom-light: #c391f3; $custom-dark: #000000;
JSON
{
"hex": "#a462ec",
"rgb": {
"r": 164,
"g": 98,
"b": 236
},
"hsl": {
"h": 268.696,
"s": 78.409,
"l": 65.49
},
"oklch": {
"l": 0.63239,
"c": 0.20233,
"h": 303.1
},
"luminance": 0.22684
}Semantic roles & 50–950 ramp
primary
#A462EC
secondary
#D6ECBE
accent
#DB0B77
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85