#AA8CD5#AA8CD5

#AA8CD5 is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.5% C 0.109 H 302.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AA8CD5
RGBrgb(170, 140, 213)
HSLhsl(265, 46%, 69%)
HSVhsv(265, 34%, 84%)
CMYKcmyk(20.2%, 34.3%, 0%, 16.5%)
CIE-LABlab(63.43, 25.85, -33.28)
CIE-LCHlch(63.43, 42.14, 307.84°)
OKLaboklab(69.49% 0.0587 -0.092)
OKLCHoklch(69.49% 0.109 302.5)
XYZxyz(37.9634, 32.1063, 67.1350)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CD5 #B7D58C
analogous
#8C93D5 #AA8CD5 #CF8CD5
triadic
#AA8CD5 #D5AA8C #8CD5AA
tetradic
#AA8CD5 #D58C93 #B7D58C #8CD5CF
square
#AA8CD5 #D58C93 #B7D58C #8CD5CF
split-complementary
#AA8CD5 #D5CF8C #93D58C
monochromatic
#6A3EA9 #895FC5 #AA8CD5 #CBB9E5 #ECE6F6

Accessibility & contrast

On white

2.83
#AA8CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AA8CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CD5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CD5#FFFFFF#000000##000000
##AA8CD51.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#8299D3
Tritanopia (blue-blind)
#A397A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8cd5;
/* rgb */ color: rgb(170, 140, 213);
/* oklch */ color: oklch(69.5% 0.109 302.5);
Tailwind
colors: {
  custom: {
    50: '#c4aee2',
    500: '#aa8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cd5;
$custom-light: #c4aee2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cd5",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 264.658,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69494,
    "c": 0.10915,
    "h": 302.5
  },
  "luminance": 0.32106
}

Semantic roles & 50–950 ramp

primary
#AA8CD5
secondary
#E0E9D4
accent
#BA2C7F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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