#AA7FF2#AA7FF2
#AA7FF2 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.167 H 299.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7FF2 |
|---|---|
| RGB | rgb(170, 127, 242) |
| HSL | hsl(262, 82%, 72%) |
| HSV | hsv(262, 48%, 95%) |
| CMYK | cmyk(29.8%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.77, 40.07, -51.99) |
| CIE-LCH | lch(61.77, 65.64, 307.62°) |
| OKLab | oklab(68.68% 0.0817 -0.1462) |
| OKLCH | oklch(68.68% 0.167 299.2) |
| XYZ | xyz(40.1902, 30.1353, 87.6865) |
| Luminance | 0.3014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.45
Easter Purple
#C071FE
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.77
Mediumpurple
#9370DB
ΔE00 6.23
Periwinkle (survey)
#8E82FE
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7FF2 #C7F27F
analogous
#7F8DF2 #AA7FF2 #E47FF2
triadic
#AA7FF2 #F2AA7F #7FF2AA
tetradic
#AA7FF2 #F27F8D #C7F27F #7FF2E4
square
#AA7FF2 #F27F8D #C7F27F #7FF2E4
split-complementary
#AA7FF2 #F2E47F #8DF27F
monochromatic
#6217E0 #8547EC #AA7FF2 #CFB7F8 #EDE3FC
Accessibility & contrast
On white
2.99
#AA7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#AA7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA7FF2
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7FF2 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6494EF
Tritanopia (blue-blind)
#9B94AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #aa7ff2; /* rgb */ color: rgb(170, 127, 242); /* oklch */ color: oklch(68.7% 0.167 299.2);
Tailwind
colors: {
custom: {
50: '#c6a5f7',
500: '#aa7ff2',
950: '#000000',
},
}SCSS
$custom: #aa7ff2; $custom-light: #c6a5f7; $custom-dark: #000000;
JSON
{
"hex": "#aa7ff2",
"rgb": {
"r": 170,
"g": 127,
"b": 242
},
"hsl": {
"h": 262.435,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.68683,
"c": 0.16748,
"h": 299.2
},
"luminance": 0.30136
}Semantic roles & 50–950 ramp
primary
#AA7FF2
secondary
#E9F4D7
accent
#DE088E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85