#A462E7#A462E7
#A462E7 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.197 H 304.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A462E7 |
|---|---|
| RGB | rgb(164, 98, 231) |
| HSL | hsl(270, 73%, 65%) |
| HSV | hsv(270, 58%, 91%) |
| CMYK | cmyk(29%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(54.45, 51.63, -57.58) |
| CIE-LCH | lch(54.45, 77.34, 311.88°) |
| OKLab | oklab(62.93% 0.1106 -0.1627) |
| OKLCH | oklch(62.93% 0.197 304.2) |
| XYZ | xyz(34.0981, 22.3975, 78.1126) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.40
Lightish Purple
#A552E6
ΔE00 3.61
Light Urple
#B36FF6
ΔE00 4.67
Mediumpurple
#9370DB
ΔE00 4.98
Mediumorchid
#BA55D3
ΔE00 6.25
Bright Lavender
#C760FF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462E7 #A5E762
analogous
#6263E7 #A462E7 #E662E7
triadic
#A462E7 #E7A462 #62E7A4
tetradic
#A462E7 #E76263 #A5E762 #62E7E6
square
#A462E7 #E76263 #A5E762 #62E7E6
split-complementary
#A462E7 #E7E662 #63E762
monochromatic
#671BB3 #852DDF #A462E7 #C397EF #E2CCF7
Accessibility & contrast
On white
3.83
#A462E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#A462E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462E7
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462E7 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2881EB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#987C9B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a462e7; /* rgb */ color: rgb(164, 98, 231); /* oklch */ color: oklch(62.9% 0.197 304.2);
Tailwind
colors: {
custom: {
50: '#c391ef',
500: '#a462e7',
950: '#000000',
},
}SCSS
$custom: #a462e7; $custom-light: #c391ef; $custom-dark: #000000;
JSON
{
"hex": "#a462e7",
"rgb": {
"r": 164,
"g": 98,
"b": 231
},
"hsl": {
"h": 269.774,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.62925,
"c": 0.19668,
"h": 304.2
},
"luminance": 0.22397
}Semantic roles & 50–950 ramp
primary
#A462E7
secondary
#D3E9BB
accent
#D61073
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84