#AA7BD2#AA7BD2
#AA7BD2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.3% C 0.134 H 308.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7BD2 |
|---|---|
| RGB | rgb(170, 123, 210) |
| HSL | hsl(272, 49%, 65%) |
| HSV | hsv(272, 41%, 82%) |
| CMYK | cmyk(19%, 41.4%, 0%, 17.6%) |
| CIE-LAB | lab(59.31, 34.76, -38.02) |
| CIE-LCH | lch(59.31, 51.51, 312.43°) |
| OKLab | oklab(66.33% 0.0825 -0.1056) |
| OKLCH | oklch(66.33% 0.134 308) |
| XYZ | xyz(35.2911, 27.3655, 64.3832) |
| Luminance | 0.2737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.49
Deep Lilac
#966EBD
ΔE00 5.74
Soft Purple
#A66FB5
ΔE00 6.16
Light Purple
#BF77F6
ΔE00 6.33
Pale Purple
#B790D4
ΔE00 6.52
Mediumpurple
#9370DB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7BD2 #A3D27B
analogous
#7E7BD2 #AA7BD2 #D27BCE
triadic
#AA7BD2 #D2AA7B #7BD2AA
tetradic
#AA7BD2 #D27E7B #A3D27B #7BCED2
square
#AA7BD2 #D27E7B #A3D27B #7BCED2
split-complementary
#AA7BD2 #CED27B #7BD27E
monochromatic
#6D369D #8D4DC2 #AA7BD2 #C7A9E2 #E5D6F1
Accessibility & contrast
On white
3.24
#AA7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#AA7BD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7BD2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7BD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7BD2 | 1.00 | 3.24 | 6.47 | 6.47 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688DD5
Deuteranopia (green-blind)
#738FD0
Tritanopia (blue-blind)
#A5889C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #aa7bd2; /* rgb */ color: rgb(170, 123, 210); /* oklch */ color: oklch(66.3% 0.134 308.0);
Tailwind
colors: {
custom: {
50: '#c5a2e0',
500: '#aa7bd2',
950: '#000000',
},
}SCSS
$custom: #aa7bd2; $custom-light: #c5a2e0; $custom-dark: #000000;
JSON
{
"hex": "#aa7bd2",
"rgb": {
"r": 170,
"g": 123,
"b": 210
},
"hsl": {
"h": 272.414,
"s": 49.153,
"l": 65.294
},
"oklch": {
"l": 0.66328,
"c": 0.134,
"h": 308
},
"luminance": 0.27365
}Semantic roles & 50–950 ramp
primary
#AA7BD2
secondary
#D3E3C6
accent
#BC296D
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83