#AA7FE6#AA7FE6
#AA7FE6 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.152 H 301.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7FE6 |
|---|---|
| RGB | rgb(170, 127, 230) |
| HSL | hsl(265, 67%, 70%) |
| HSV | hsv(265, 45%, 90%) |
| CMYK | cmyk(26.1%, 44.8%, 0%, 9.8%) |
| CIE-LAB | lab(61.17, 37.17, -46.29) |
| CIE-LCH | lch(61.17, 59.37, 308.76°) |
| OKLab | oklab(68.03% 0.0802 -0.1296) |
| OKLCH | oklch(68.03% 0.152 301.8) |
| XYZ | xyz(38.4467, 29.4379, 78.5042) |
| Luminance | 0.2944 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.66
Light Urple
#B36FF6
ΔE00 4.92
Easter Purple
#C071FE
ΔE00 5.83
Mediumpurple
#9370DB
ΔE00 5.93
Liliac
#C48EFD
ΔE00 5.99
Wisteria
#A87DC2
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7FE6 #BBE67F
analogous
#7F87E6 #AA7FE6 #DE7FE6
triadic
#AA7FE6 #E6AA7F #7FE6AA
tetradic
#AA7FE6 #E67F87 #BBE67F #7FE6DE
square
#AA7FE6 #E67F87 #BBE67F #7FE6DE
split-complementary
#AA7FE6 #E6DE7F #87E67F
monochromatic
#6826C4 #884CDC #AA7FE6 #CCB2F0 #EEE5FA
Accessibility & contrast
On white
3.05
#AA7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#AA7FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7FE6
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7FE6 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6293EA
Deuteranopia (green-blind)
#6C93E3
Tritanopia (blue-blind)
#9F91A8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #aa7fe6; /* rgb */ color: rgb(170, 127, 230); /* oklch */ color: oklch(68.0% 0.152 301.8);
Tailwind
colors: {
custom: {
50: '#c5a5ee',
500: '#aa7fe6',
950: '#000000',
},
}SCSS
$custom: #aa7fe6; $custom-light: #c5a5ee; $custom-dark: #000000;
JSON
{
"hex": "#aa7fe6",
"rgb": {
"r": 170,
"g": 127,
"b": 230
},
"hsl": {
"h": 265.049,
"s": 67.32,
"l": 70
},
"oklch": {
"l": 0.68033,
"c": 0.1524,
"h": 301.8
},
"luminance": 0.29438
}Semantic roles & 50–950 ramp
primary
#AA7FE6
secondary
#E3EFD2
accent
#CF1682
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84