#AA7CD5#AA7CD5

#AA7CD5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.136 H 306.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AA7CD5
RGBrgb(170, 124, 213)
HSLhsl(271, 51%, 66%)
HSVhsv(271, 42%, 84%)
CMYKcmyk(20.2%, 41.8%, 0%, 16.5%)
CIE-LABlab(59.68, 34.88, -39.14)
CIE-LCHlch(59.68, 52.42, 311.71°)
OKLaboklab(66.65% 0.0816 -0.1088)
OKLCHoklch(66.65% 0.136 306.9)
XYZxyz(35.7931, 27.7658, 66.4116)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CD5 #A7D57C
analogous
#7D7CD5 #AA7CD5 #D57CD3
triadic
#AA7CD5 #D5AA7C #7CD5AA
tetradic
#AA7CD5 #D57D7C #A7D57C #7CD3D5
square
#AA7CD5 #D57D7C #A7D57C #7CD3D5
split-complementary
#AA7CD5 #D3D57C #7CD57D
monochromatic
#6D34A2 #8C4EC6 #AA7CD5 #C8AAE4 #E6D9F3

Accessibility & contrast

On white

3.20
#AA7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AA7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CD5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CD5#FFFFFF#000000##000000
##AA7CD51.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED8
Deuteranopia (green-blind)
#7290D3
Tritanopia (blue-blind)
#A48A9E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7cd5;
/* rgb */ color: rgb(170, 124, 213);
/* oklch */ color: oklch(66.6% 0.136 306.9);
Tailwind
colors: {
  custom: {
    50: '#c5a2e2',
    500: '#aa7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cd5;
$custom-light: #c5a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cd5",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 271.011,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.13603,
    "h": 306.9
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#AA7CD5
secondary
#D6E5C8
accent
#BF2770
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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