#A262EA#A262EA
#A262EA is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.200 H 302.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A262EA |
|---|---|
| RGB | rgb(162, 98, 234) |
| HSL | hsl(268, 76%, 65%) |
| HSV | hsv(268, 58%, 92%) |
| CMYK | cmyk(30.8%, 58.1%, 0%, 8.2%) |
| CIE-LAB | lab(54.40, 51.87, -59.34) |
| CIE-LCH | lch(54.40, 78.82, 311.16°) |
| OKLab | oklab(62.9% 0.108 -0.1679) |
| OKLCH | oklch(62.9% 0.2 302.8) |
| XYZ | xyz(34.1159, 22.3573, 80.3440) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.07
Lightish Purple
#A552E6
ΔE00 3.70
Light Urple
#B36FF6
ΔE00 4.76
Mediumpurple
#9370DB
ΔE00 4.88
Purpley
#8756E4
ΔE00 6.23
Bright Lavender
#C760FF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262EA #AAEA62
analogous
#6266EA #A262EA #E662EA
triadic
#A262EA #EAA262 #62EAA2
tetradic
#A262EA #EA6266 #AAEA62 #62EAE6
square
#A262EA #EA6266 #AAEA62 #62EAE6
split-complementary
#A262EA #EAE662 #66EA62
monochromatic
#6419B9 #822CE3 #A262EA #C298F1 #E2CEF8
Accessibility & contrast
On white
3.84
#A262EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#A262EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262EA
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262EA | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2181EE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#947D9D
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a262ea; /* rgb */ color: rgb(162, 98, 234); /* oklch */ color: oklch(62.9% 0.200 302.8);
Tailwind
colors: {
custom: {
50: '#c291f1',
500: '#a262ea',
950: '#000000',
},
}SCSS
$custom: #a262ea; $custom-light: #c291f1; $custom-dark: #000000;
JSON
{
"hex": "#a262ea",
"rgb": {
"r": 162,
"g": 98,
"b": 234
},
"hsl": {
"h": 268.235,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.62902,
"c": 0.19964,
"h": 302.8
},
"luminance": 0.22357
}Semantic roles & 50–950 ramp
primary
#A262EA
secondary
#D5EBBD
accent
#D90D79
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85