#A262E4#A262E4
#A262E4 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.193 H 304.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A262E4 |
|---|---|
| RGB | rgb(162, 98, 228) |
| HSL | hsl(270, 71%, 64%) |
| HSV | hsv(270, 57%, 89%) |
| CMYK | cmyk(28.9%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(54.05, 50.45, -56.55) |
| CIE-LCH | lch(54.05, 75.78, 311.74°) |
| OKLab | oklab(62.53% 0.108 -0.1597) |
| OKLCH | oklch(62.53% 0.193 304.1) |
| XYZ | xyz(33.2685, 22.0183, 75.8810) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.67
Lightish Purple
#A552E6
ΔE00 3.55
Mediumpurple
#9370DB
ΔE00 4.74
Light Urple
#B36FF6
ΔE00 5.07
Amethyst
#9B5FC0
ΔE00 5.97
Mediumorchid
#BA55D3
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262E4 #A4E462
analogous
#6263E4 #A262E4 #E362E4
triadic
#A262E4 #E4A262 #62E4A2
tetradic
#A262E4 #E46263 #A4E462 #62E4E3
square
#A262E4 #E46263 #A4E462 #62E4E3
split-complementary
#A262E4 #E4E362 #63E462
monochromatic
#651EAE #832EDB #A262E4 #C196ED #E0CAF6
Accessibility & contrast
On white
3.89
#A262E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#A262E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262E4
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262E4 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B80E8
Deuteranopia (green-blind)
#4681E1
Tritanopia (blue-blind)
#967C9A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a262e4; /* rgb */ color: rgb(162, 98, 228); /* oklch */ color: oklch(62.5% 0.193 304.1);
Tailwind
colors: {
custom: {
50: '#c191ed',
500: '#a262e4',
950: '#000000',
},
}SCSS
$custom: #a262e4; $custom-light: #c191ed; $custom-dark: #000000;
JSON
{
"hex": "#a262e4",
"rgb": {
"r": 162,
"g": 98,
"b": 228
},
"hsl": {
"h": 269.538,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.62525,
"c": 0.1928,
"h": 304.1
},
"luminance": 0.22018
}Semantic roles & 50–950 ramp
primary
#A262E4
secondary
#D1E8BA
accent
#D31374
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84