#A262DF#A262DF
#A262DF is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.2% C 0.187 H 305.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A262DF |
|---|---|
| RGB | rgb(162, 98, 223) |
| HSL | hsl(271, 66%, 63%) |
| HSV | hsv(271, 56%, 87%) |
| CMYK | cmyk(27.4%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(53.76, 49.27, -54.20) |
| CIE-LCH | lch(53.76, 73.25, 312.27°) |
| OKLab | oklab(62.22% 0.1079 -0.1528) |
| OKLCH | oklch(62.22% 0.187 305.2) |
| XYZ | xyz(32.5844, 21.7447, 72.2783) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.31
Lightish Purple
#A552E6
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 4.76
Amethyst
#9B5FC0
ΔE00 5.22
Light Urple
#B36FF6
ΔE00 5.44
Mediumorchid
#BA55D3
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262DF #9FDF62
analogous
#6362DF #A262DF #DF62DE
triadic
#A262DF #DFA262 #62DFA2
tetradic
#A262DF #DF6362 #9FDF62 #62DEDF
square
#A262DF #DF6362 #9FDF62 #62DEDF
split-complementary
#A262DF #DEDF62 #62DF63
monochromatic
#6522A5 #842FD5 #A262DF #C095E9 #DEC8F4
Accessibility & contrast
On white
3.93
#A262DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#A262DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262DF
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262DF | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327FE3
Deuteranopia (green-blind)
#4B81DC
Tritanopia (blue-blind)
#987A97
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a262df; /* rgb */ color: rgb(162, 98, 223); /* oklch */ color: oklch(62.2% 0.187 305.2);
Tailwind
colors: {
custom: {
50: '#c191ea',
500: '#a262df',
950: '#000000',
},
}SCSS
$custom: #a262df; $custom-light: #c191ea; $custom-dark: #000000;
JSON
{
"hex": "#a262df",
"rgb": {
"r": 162,
"g": 98,
"b": 223
},
"hsl": {
"h": 270.72,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.62218,
"c": 0.18708,
"h": 305.2
},
"luminance": 0.21744
}Semantic roles & 50–950 ramp
primary
#A262DF
secondary
#CEE5B8
accent
#CE1771
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84