#A262E1#A262E1
#A262E1 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.3% C 0.189 H 304.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A262E1 |
|---|---|
| RGB | rgb(162, 98, 225) |
| HSL | hsl(270, 68%, 63%) |
| HSV | hsv(270, 56%, 88%) |
| CMYK | cmyk(28%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(53.87, 49.74, -55.14) |
| CIE-LCH | lch(53.87, 74.26, 312.05°) |
| OKLab | oklab(62.34% 0.108 -0.1556) |
| OKLCH | oklch(62.34% 0.189 304.8) |
| XYZ | xyz(32.8556, 21.8532, 73.7068) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.04
Lightish Purple
#A552E6
ΔE00 3.56
Mediumpurple
#9370DB
ΔE00 4.74
Light Urple
#B36FF6
ΔE00 5.28
Amethyst
#9B5FC0
ΔE00 5.52
Mediumorchid
#BA55D3
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262E1 #A1E162
analogous
#6262E1 #A262E1 #E162E0
triadic
#A262E1 #E1A262 #62E1A2
tetradic
#A262E1 #E16262 #A1E162 #62E0E1
square
#A262E1 #E16262 #A1E162 #62E0E1
split-complementary
#A262E1 #E0E162 #62E162
monochromatic
#6520A8 #842FD7 #A262E1 #C095EB #DFC9F5
Accessibility & contrast
On white
3.91
#A262E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#A262E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262E1
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262E1 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#977B98
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a262e1; /* rgb */ color: rgb(162, 98, 225); /* oklch */ color: oklch(62.3% 0.189 304.8);
Tailwind
colors: {
custom: {
50: '#c191eb',
500: '#a262e1',
950: '#000000',
},
}SCSS
$custom: #a262e1; $custom-light: #c191eb; $custom-dark: #000000;
JSON
{
"hex": "#a262e1",
"rgb": {
"r": 162,
"g": 98,
"b": 225
},
"hsl": {
"h": 270.236,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.6234,
"c": 0.18937,
"h": 304.8
},
"luminance": 0.21853
}Semantic roles & 50–950 ramp
primary
#A262E1
secondary
#CFE6B9
accent
#D01672
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84