#AA7FE3#AA7FE3
#AA7FE3 is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.9% C 0.149 H 302.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7FE3 |
|---|---|
| RGB | rgb(170, 127, 227) |
| HSL | hsl(266, 64%, 69%) |
| HSV | hsv(266, 44%, 89%) |
| CMYK | cmyk(25.1%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(61.02, 36.45, -44.85) |
| CIE-LCH | lch(61.02, 57.80, 309.10°) |
| OKLab | oklab(67.88% 0.0798 -0.1254) |
| OKLCH | oklch(67.88% 0.149 302.5) |
| XYZ | xyz(38.0290, 29.2708, 76.3045) |
| Luminance | 0.2927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.84
Light Urple
#B36FF6
ΔE00 5.19
Mediumpurple
#9370DB
ΔE00 5.97
Easter Purple
#C071FE
ΔE00 6.09
Liliac
#C48EFD
ΔE00 6.14
Wisteria
#A87DC2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7FE3 #B8E37F
analogous
#7F86E3 #AA7FE3 #DC7FE3
triadic
#AA7FE3 #E3AA7F #7FE3AA
tetradic
#AA7FE3 #E37F86 #B8E37F #7FE3DC
square
#AA7FE3 #E37F86 #B8E37F #7FE3DC
split-complementary
#AA7FE3 #E3DC7F #86E37F
monochromatic
#692ABE #894DD8 #AA7FE3 #CBB1EE #EDE3F9
Accessibility & contrast
On white
3.06
#AA7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#AA7FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7FE3
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7FE3 | 1.00 | 3.06 | 6.85 | 6.85 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6492E7
Deuteranopia (green-blind)
#6E93E0
Tritanopia (blue-blind)
#A090A6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #aa7fe3; /* rgb */ color: rgb(170, 127, 227); /* oklch */ color: oklch(67.9% 0.149 302.5);
Tailwind
colors: {
custom: {
50: '#c5a5ec',
500: '#aa7fe3',
950: '#000000',
},
}SCSS
$custom: #aa7fe3; $custom-light: #c5a5ec; $custom-dark: #000000;
JSON
{
"hex": "#aa7fe3",
"rgb": {
"r": 170,
"g": 127,
"b": 227
},
"hsl": {
"h": 265.8,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.67876,
"c": 0.14862,
"h": 302.5
},
"luminance": 0.29271
}Semantic roles & 50–950 ramp
primary
#AA7FE3
secondary
#E1EDD0
accent
#CC1A7F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84