#A262E7#A262E7
#A262E7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.196 H 303.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A262E7 |
|---|---|
| RGB | rgb(162, 98, 231) |
| HSL | hsl(269, 73%, 65%) |
| HSV | hsv(269, 58%, 91%) |
| CMYK | cmyk(29.9%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(54.22, 51.16, -57.95) |
| CIE-LCH | lch(54.22, 77.30, 311.44°) |
| OKLab | oklab(62.71% 0.108 -0.1638) |
| OKLCH | oklch(62.71% 0.196 303.4) |
| XYZ | xyz(33.6885, 22.1863, 78.0934) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.34
Lightish Purple
#A552E6
ΔE00 3.59
Mediumpurple
#9370DB
ΔE00 4.79
Light Urple
#B36FF6
ΔE00 4.90
Purpley
#8756E4
ΔE00 6.24
Amethyst
#9B5FC0
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262E7 #A7E762
analogous
#6265E7 #A262E7 #E562E7
triadic
#A262E7 #E7A262 #62E7A2
tetradic
#A262E7 #E76265 #A7E762 #62E7E5
square
#A262E7 #E76265 #A7E762 #62E7E5
split-complementary
#A262E7 #E7E562 #65E762
monochromatic
#641BB3 #832DDF #A262E7 #C197EF #E1CCF7
Accessibility & contrast
On white
3.86
#A262E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#A262E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262E7
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262E7 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#957C9B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a262e7; /* rgb */ color: rgb(162, 98, 231); /* oklch */ color: oklch(62.7% 0.196 303.4);
Tailwind
colors: {
custom: {
50: '#c191ef',
500: '#a262e7',
950: '#000000',
},
}SCSS
$custom: #a262e7; $custom-light: #c191ef; $custom-dark: #000000;
JSON
{
"hex": "#a262e7",
"rgb": {
"r": 162,
"g": 98,
"b": 231
},
"hsl": {
"h": 268.872,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.62712,
"c": 0.19622,
"h": 303.4
},
"luminance": 0.22186
}Semantic roles & 50–950 ramp
primary
#A262E7
secondary
#D3E9BB
accent
#D61076
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84