#AA7BD7#AA7BD7

#AA7BD7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.140 H 306.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AA7BD7
RGBrgb(170, 123, 215)
HSLhsl(271, 53%, 66%)
HSVhsv(271, 43%, 84%)
CMYKcmyk(20.9%, 42.8%, 0%, 15.7%)
CIE-LABlab(59.54, 35.89, -40.47)
CIE-LCHlch(59.54, 54.09, 311.57°)
OKLaboklab(66.58% 0.0834 -0.1127)
OKLCHoklch(66.58% 0.14 306.5)
XYZxyz(35.9238, 27.6185, 67.7152)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BD7 #A8D77B
analogous
#7C7BD7 #AA7BD7 #D77BD6
triadic
#AA7BD7 #D7AA7B #7BD7AA
tetradic
#AA7BD7 #D77C7B #A8D77B #7BD6D7
square
#AA7BD7 #D77C7B #A8D77B #7BD6D7
split-complementary
#AA7BD7 #D6D77B #7BD77C
monochromatic
#6D32A5 #8C4CC9 #AA7BD7 #C8AAE5 #E6D9F3

Accessibility & contrast

On white

3.22
#AA7BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AA7BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BD7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BD7#FFFFFF#000000##000000
##AA7BD71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658EDA
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#A38A9F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7bd7;
/* rgb */ color: rgb(170, 123, 215);
/* oklch */ color: oklch(66.6% 0.140 306.5);
Tailwind
colors: {
  custom: {
    50: '#c5a2e3',
    500: '#aa7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bd7;
$custom-light: #c5a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bd7",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 270.652,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.14017,
    "h": 306.5
  },
  "luminance": 0.27618
}

Semantic roles & 50–950 ramp

primary
#AA7BD7
secondary
#D7E6C8
accent
#C12571
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BD7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA7BD7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva