#AA7BD6#AA7BD6

#AA7BD6 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.139 H 306.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AA7BD6
RGBrgb(170, 123, 214)
HSLhsl(271, 53%, 66%)
HSVhsv(271, 43%, 84%)
CMYKcmyk(20.6%, 42.5%, 0%, 16.1%)
CIE-LABlab(59.50, 35.66, -39.98)
CIE-LCHlch(59.50, 53.58, 311.73°)
OKLaboklab(66.53% 0.0832 -0.1113)
OKLCHoklch(66.53% 0.139 306.8)
XYZxyz(35.7957, 27.5673, 67.0406)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BD6 #A7D67B
analogous
#7C7BD6 #AA7BD6 #D67BD4
triadic
#AA7BD6 #D6AA7B #7BD6AA
tetradic
#AA7BD6 #D67C7B #A7D67B #7BD4D6
square
#AA7BD6 #D67C7B #A7D67B #7BD4D6
split-complementary
#AA7BD6 #D4D67B #7BD67C
monochromatic
#6D33A4 #8C4CC7 #AA7BD6 #C8AAE5 #E6D8F3

Accessibility & contrast

On white

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

On black

6.51
#AA7BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BD6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BD6#FFFFFF#000000##000000
##AA7BD61.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668ED9
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#A4899E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7bd6;
/* rgb */ color: rgb(170, 123, 214);
/* oklch */ color: oklch(66.5% 0.139 306.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2e3',
    500: '#aa7bd6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bd6;
$custom-light: #c5a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bd6",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 270.989,
    "s": 52.601,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.13894,
    "h": 306.8
  },
  "luminance": 0.27567
}

Semantic roles & 50–950 ramp

primary
#AA7BD6
secondary
#D6E5C7
accent
#C02570
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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