#AA7FE7#AA7FE7
#AA7FE7 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.154 H 301.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7FE7 |
|---|---|
| RGB | rgb(170, 127, 231) |
| HSL | hsl(265, 68%, 70%) |
| HSV | hsv(265, 45%, 91%) |
| CMYK | cmyk(26.4%, 45%, 0%, 9.4%) |
| CIE-LAB | lab(61.22, 37.41, -46.77) |
| CIE-LCH | lch(61.22, 59.89, 308.65°) |
| OKLab | oklab(68.09% 0.0804 -0.131) |
| OKLCH | oklch(68.09% 0.154 301.5) |
| XYZ | xyz(38.5875, 29.4942, 79.2459) |
| Luminance | 0.2949 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.61
Light Urple
#B36FF6
ΔE00 4.84
Easter Purple
#C071FE
ΔE00 5.75
Mediumpurple
#9370DB
ΔE00 5.92
Liliac
#C48EFD
ΔE00 5.94
Wisteria
#A87DC2
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7FE7 #BCE77F
analogous
#7F88E7 #AA7FE7 #DE7FE7
triadic
#AA7FE7 #E7AA7F #7FE7AA
tetradic
#AA7FE7 #E77F88 #BCE77F #7FE7DE
square
#AA7FE7 #E77F88 #BCE77F #7FE7DE
split-complementary
#AA7FE7 #E7DE7F #88E77F
monochromatic
#6825C6 #884BDD #AA7FE7 #CCB3F1 #EEE5FA
Accessibility & contrast
On white
3.04
#AA7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#AA7FE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7FE7
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7FE7 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6293EB
Deuteranopia (green-blind)
#6B93E4
Tritanopia (blue-blind)
#9F91A8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #aa7fe7; /* rgb */ color: rgb(170, 127, 231); /* oklch */ color: oklch(68.1% 0.154 301.5);
Tailwind
colors: {
custom: {
50: '#c5a5ef',
500: '#aa7fe7',
950: '#000000',
},
}SCSS
$custom: #aa7fe7; $custom-light: #c5a5ef; $custom-dark: #000000;
JSON
{
"hex": "#aa7fe7",
"rgb": {
"r": 170,
"g": 127,
"b": 231
},
"hsl": {
"h": 264.808,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.68086,
"c": 0.15365,
"h": 301.5
},
"luminance": 0.29494
}Semantic roles & 50–950 ramp
primary
#AA7FE7
secondary
#E3EFD2
accent
#D01583
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84