#AA5FE3#AA5FE3
#AA5FE3 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.9% C 0.198 H 307.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FE3 |
|---|---|
| RGB | rgb(170, 95, 227) |
| HSL | hsl(274, 70%, 63%) |
| HSV | hsv(274, 58%, 89%) |
| CMYK | cmyk(25.1%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(54.32, 53.68, -55.50) |
| CIE-LCH | lch(54.32, 77.21, 314.04°) |
| OKLab | oklab(62.91% 0.1218 -0.1564) |
| OKLCH | oklch(62.91% 0.198 307.9) |
| XYZ | xyz(34.5321, 22.2770, 75.1389) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.01
Lightish Purple
#A552E6
ΔE00 3.27
Mediumorchid
#BA55D3
ΔE00 4.73
Light Urple
#B36FF6
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FE3 #98E35F
analogous
#685FE3 #AA5FE3 #E35FDA
triadic
#AA5FE3 #E3AA5F #5FE3AA
tetradic
#AA5FE3 #E3685F #98E35F #5FDAE3
square
#AA5FE3 #E3685F #98E35F #5FDAE3
split-complementary
#AA5FE3 #DAE35F #5FE368
monochromatic
#6D1EAA #8E2BDA #AA5FE3 #C693EC #E1C7F5
Accessibility & contrast
On white
3.85
#AA5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#AA5FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FE3
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FE3 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#4B83E0
Tritanopia (blue-blind)
#A17898
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #aa5fe3; /* rgb */ color: rgb(170, 95, 227); /* oklch */ color: oklch(62.9% 0.198 307.9);
Tailwind
colors: {
custom: {
50: '#c790ec',
500: '#aa5fe3',
950: '#000000',
},
}SCSS
$custom: #aa5fe3; $custom-light: #c790ec; $custom-dark: #000000;
JSON
{
"hex": "#aa5fe3",
"rgb": {
"r": 170,
"g": 95,
"b": 227
},
"hsl": {
"h": 274.091,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.62909,
"c": 0.19818,
"h": 307.9
},
"luminance": 0.22277
}Semantic roles & 50–950 ramp
primary
#AA5FE3
secondary
#CCE7B7
accent
#D21366
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84