#AA7EF2#AA7EF2
#AA7EF2 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.5% C 0.169 H 299.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7EF2 |
|---|---|
| RGB | rgb(170, 126, 242) |
| HSL | hsl(263, 82%, 72%) |
| HSV | hsv(263, 48%, 95%) |
| CMYK | cmyk(29.8%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(61.55, 40.62, -52.34) |
| CIE-LCH | lch(61.55, 66.25, 307.82°) |
| OKLab | oklab(68.52% 0.083 -0.1472) |
| OKLCH | oklch(68.52% 0.169 299.4) |
| XYZ | xyz(40.0616, 29.8783, 87.6437) |
| Luminance | 0.2988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.11
Light Purple
#BF77F6
ΔE00 4.32
Easter Purple
#C071FE
ΔE00 5.04
Liliac
#C48EFD
ΔE00 5.92
Mediumpurple
#9370DB
ΔE00 6.08
Periwinkle (survey)
#8E82FE
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7EF2 #C6F27E
analogous
#7E8CF2 #AA7EF2 #E47EF2
triadic
#AA7EF2 #F2AA7E #7EF2AA
tetradic
#AA7EF2 #F27E8C #C6F27E #7EF2E4
square
#AA7EF2 #F27E8C #C6F27E #7EF2E4
split-complementary
#AA7EF2 #F2E47E #8CF27E
monochromatic
#6316DF #8546EC #AA7EF2 #CFB6F8 #EDE3FC
Accessibility & contrast
On white
3.01
#AA7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#AA7EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7EF2
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7EF2 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5994F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9B93AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #aa7ef2; /* rgb */ color: rgb(170, 126, 242); /* oklch */ color: oklch(68.5% 0.169 299.4);
Tailwind
colors: {
custom: {
50: '#c6a4f7',
500: '#aa7ef2',
950: '#000000',
},
}SCSS
$custom: #aa7ef2; $custom-light: #c6a4f7; $custom-dark: #000000;
JSON
{
"hex": "#aa7ef2",
"rgb": {
"r": 170,
"g": 126,
"b": 242
},
"hsl": {
"h": 262.759,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.68518,
"c": 0.16901,
"h": 299.4
},
"luminance": 0.29879
}Semantic roles & 50–950 ramp
primary
#AA7EF2
secondary
#E9F4D7
accent
#DE078D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85