#AA7CFD#AA7CFD
#AA7CFD is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.186 H 297.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7CFD |
|---|---|
| RGB | rgb(170, 124, 253) |
| HSL | hsl(261, 97%, 74%) |
| HSV | hsv(261, 51%, 99%) |
| CMYK | cmyk(32.8%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(61.70, 44.44, -58.16) |
| CIE-LCH | lch(61.70, 73.20, 307.38°) |
| OKLab | oklab(68.82% 0.0866 -0.1642) |
| OKLCH | oklch(68.82% 0.186 297.8) |
| XYZ | xyz(41.5105, 30.0527, 96.5232) |
| Luminance | 0.3005 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.90
Light Purple
#BF77F6
ΔE00 4.62
Easter Purple
#C071FE
ΔE00 4.75
Periwinkle (survey)
#8E82FE
ΔE00 5.91
Liliac
#C48EFD
ΔE00 6.50
Mediumpurple
#9370DB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7CFD #CFFD7C
analogous
#7C8FFD #AA7CFD #EA7CFD
triadic
#AA7CFD #FDAA7C #7CFDAA
tetradic
#AA7CFD #FD7C8F #CFFD7C #7CFDEA
square
#AA7CFD #FD7C8F #CFFD7C #7CFDEA
split-complementary
#AA7CFD #FDEA7C #8FFD7C
monochromatic
#5C04FB #8340FC #AA7CFD #D1B8FE #EBE1FF
Accessibility & contrast
On white
3.00
#AA7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#AA7CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA7CFD
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7CFD | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#9895B1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #aa7cfd; /* rgb */ color: rgb(170, 124, 253); /* oklch */ color: oklch(68.8% 0.186 297.8);
Tailwind
colors: {
custom: {
50: '#c7a3ff',
500: '#aa7cfd',
950: '#000000',
},
}SCSS
$custom: #aa7cfd; $custom-light: #c7a3ff; $custom-dark: #000000;
JSON
{
"hex": "#aa7cfd",
"rgb": {
"r": 170,
"g": 124,
"b": 253
},
"hsl": {
"h": 261.395,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.6882,
"c": 0.18565,
"h": 297.8
},
"luminance": 0.30053
}Semantic roles & 50–950 ramp
primary
#AA7CFD
secondary
#EAF7D4
accent
#E60094
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86