#AA7FDC#AA7FDC
#AA7FDC is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.5% C 0.140 H 304.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7FDC |
|---|---|
| RGB | rgb(170, 127, 220) |
| HSL | hsl(268, 57%, 68%) |
| HSV | hsv(268, 42%, 86%) |
| CMYK | cmyk(22.7%, 42.3%, 0%, 13.7%) |
| CIE-LAB | lab(60.69, 34.81, -41.47) |
| CIE-LCH | lch(60.69, 54.15, 310.01°) |
| OKLab | oklab(67.52% 0.0786 -0.1156) |
| OKLCH | oklch(67.52% 0.14 304.2) |
| XYZ | xyz(37.0825, 28.8922, 71.3194) |
| Luminance | 0.2889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 5.47
Light Urple
#B36FF6
ΔE00 5.98
Mediumpurple
#9370DB
ΔE00 6.28
Pale Purple
#B790D4
ΔE00 6.45
Liliac
#C48EFD
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7FDC #B1DC7F
analogous
#7F82DC #AA7FDC #D87FDC
triadic
#AA7FDC #DCAA7F #7FDCAA
tetradic
#AA7FDC #DC7F82 #B1DC7F #7FDCD8
square
#AA7FDC #DC7F82 #B1DC7F #7FDCD8
split-complementary
#AA7FDC #DCD87F #82DC7F
monochromatic
#6B30B0 #8A4FCF #AA7FDC #CAAFE9 #EADFF6
Accessibility & contrast
On white
3.10
#AA7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#AA7FDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7FDC
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7FDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7FDC | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6891DF
Deuteranopia (green-blind)
#7292DA
Tritanopia (blue-blind)
#A28EA3
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #aa7fdc; /* rgb */ color: rgb(170, 127, 220); /* oklch */ color: oklch(67.5% 0.140 304.2);
Tailwind
colors: {
custom: {
50: '#c5a5e7',
500: '#aa7fdc',
950: '#000000',
},
}SCSS
$custom: #aa7fdc; $custom-light: #c5a5e7; $custom-dark: #000000;
JSON
{
"hex": "#aa7fdc",
"rgb": {
"r": 170,
"g": 127,
"b": 220
},
"hsl": {
"h": 267.742,
"s": 57.055,
"l": 68.039
},
"oklch": {
"l": 0.67516,
"c": 0.1398,
"h": 304.2
},
"luminance": 0.28892
}Semantic roles & 50–950 ramp
primary
#AA7FDC
secondary
#DCEACD
accent
#C52179
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84