#AA5FE2#AA5FE2
#AA5FE2 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.197 H 308.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FE2 |
|---|---|
| RGB | rgb(170, 95, 226) |
| HSL | hsl(274, 69%, 63%) |
| HSV | hsv(274, 58%, 89%) |
| CMYK | cmyk(24.8%, 58%, 0%, 11.4%) |
| CIE-LAB | lab(54.26, 53.45, -55.03) |
| CIE-LCH | lch(54.26, 76.71, 314.17°) |
| OKLab | oklab(62.85% 0.1218 -0.155) |
| OKLCH | oklch(62.85% 0.197 308.2) |
| XYZ | xyz(34.3945, 22.2219, 74.4141) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.15
Lightish Purple
#A552E6
ΔE00 3.29
Mediumorchid
#BA55D3
ΔE00 4.62
Light Urple
#B36FF6
ΔE00 5.10
Amethyst
#9B5FC0
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FE2 #97E25F
analogous
#685FE2 #AA5FE2 #E25FD8
triadic
#AA5FE2 #E2AA5F #5FE2AA
tetradic
#AA5FE2 #E2685F #97E25F #5FD8E2
square
#AA5FE2 #E2685F #97E25F #5FD8E2
split-complementary
#AA5FE2 #D8E25F #5FE268
monochromatic
#6D1EA8 #8E2BD9 #AA5FE2 #C693EB #E1C7F5
Accessibility & contrast
On white
3.86
#AA5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#AA5FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FE2
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FE2 | 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)
#2D7FE6
Deuteranopia (green-blind)
#4C83DF
Tritanopia (blue-blind)
#A27898
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #aa5fe2; /* rgb */ color: rgb(170, 95, 226); /* oklch */ color: oklch(62.8% 0.197 308.2);
Tailwind
colors: {
custom: {
50: '#c790ec',
500: '#aa5fe2',
950: '#000000',
},
}SCSS
$custom: #aa5fe2; $custom-light: #c790ec; $custom-dark: #000000;
JSON
{
"hex": "#aa5fe2",
"rgb": {
"r": 170,
"g": 95,
"b": 226
},
"hsl": {
"h": 274.351,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.62848,
"c": 0.1971,
"h": 308.2
},
"luminance": 0.22221
}Semantic roles & 50–950 ramp
primary
#AA5FE2
secondary
#CBE6B7
accent
#D11465
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84