#AA7CD4#AA7CD4

#AA7CD4 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.135 H 307.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AA7CD4
RGBrgb(170, 124, 212)
HSLhsl(271, 51%, 66%)
HSVhsv(271, 42%, 83%)
CMYKcmyk(19.8%, 41.5%, 0%, 16.9%)
CIE-LABlab(59.63, 34.65, -38.65)
CIE-LCHlch(59.63, 51.90, 311.88°)
OKLaboklab(66.6% 0.0815 -0.1074)
OKLCHoklch(66.6% 0.135 307.2)
XYZxyz(35.6666, 27.7151, 65.7452)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CD4 #A6D47C
analogous
#7E7CD4 #AA7CD4 #D47CD2
triadic
#AA7CD4 #D4AA7C #7CD4AA
tetradic
#AA7CD4 #D47E7C #A6D47C #7CD2D4
square
#AA7CD4 #D47E7C #A6D47C #7CD2D4
split-complementary
#AA7CD4 #D2D47C #7CD47E
monochromatic
#6D35A1 #8C4EC5 #AA7CD4 #C8AAE3 #E6D8F2

Accessibility & contrast

On white

3.21
#AA7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AA7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CD4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CD4#FFFFFF#000000##000000
##AA7CD41.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#A48A9E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7cd4;
/* rgb */ color: rgb(170, 124, 212);
/* oklch */ color: oklch(66.6% 0.135 307.2);
Tailwind
colors: {
  custom: {
    50: '#c5a2e1',
    500: '#aa7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cd4;
$custom-light: #c5a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cd4",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 271.364,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66599,
    "c": 0.13479,
    "h": 307.2
  },
  "luminance": 0.27715
}

Semantic roles & 50–950 ramp

primary
#AA7CD4
secondary
#D5E4C7
accent
#BE286F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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