#AA7FC2#AA7FC2
#AA7FC2 is a light, moderate violet. Relative luminance 0.276; OKLCH L 66.3% C 0.107 H 312.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7FC2 |
|---|---|
| RGB | rgb(170, 127, 194) |
| HSL | hsl(279, 35%, 63%) |
| HSV | hsv(279, 35%, 76%) |
| CMYK | cmyk(12.4%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(59.54, 28.98, -28.62) |
| CIE-LCH | lch(59.54, 40.73, 315.35°) |
| OKLab | oklab(66.28% 0.0732 -0.0786) |
| OKLCH | oklch(66.28% 0.107 312.9) |
| XYZ | xyz(33.9029, 27.6204, 54.5738) |
| Luminance | 0.2762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 0.77
Soft Purple
#A66FB5
ΔE00 4.93
Pale Purple
#B790D4
ΔE00 5.23
Heather
#A484AC
ΔE00 6.41
Deep Lilac
#966EBD
ΔE00 6.61
Orchid (survey)
#C875C4
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7FC2 #97C27F
analogous
#887FC2 #AA7FC2 #C27FB9
triadic
#AA7FC2 #C2AA7F #7FC2AA
tetradic
#AA7FC2 #C2887F #97C27F #7FB9C2
square
#AA7FC2 #C2887F #97C27F #7FB9C2
split-complementary
#AA7FC2 #B9C27F #7FC288
monochromatic
#6D4087 #8E56AE #AA7FC2 #C6A8D6 #E1D2EA
Accessibility & contrast
On white
3.22
#AA7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#AA7FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7FC2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7FC2 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#7E90C0
Tritanopia (blue-blind)
#A88898
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #aa7fc2; /* rgb */ color: rgb(170, 127, 194); /* oklch */ color: oklch(66.3% 0.107 312.9);
Tailwind
colors: {
custom: {
50: '#c4a4d4',
500: '#aa7fc2',
950: '#000000',
},
}SCSS
$custom: #aa7fc2; $custom-light: #c4a4d4; $custom-dark: #000000;
JSON
{
"hex": "#aa7fc2",
"rgb": {
"r": 170,
"g": 127,
"b": 194
},
"hsl": {
"h": 278.507,
"s": 35.45,
"l": 62.941
},
"oklch": {
"l": 0.66277,
"c": 0.10743,
"h": 312.9
},
"luminance": 0.2762
}Semantic roles & 50–950 ramp
primary
#AA7FC2
secondary
#CBDAC2
accent
#AE3762
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83