#AA8CD7#AA8CD7

#AA8CD7 is a light, moderate violet. Relative luminance 0.322; OKLCH L 69.6% C 0.112 H 302.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AA8CD7
RGBrgb(170, 140, 215)
HSLhsl(264, 48%, 70%)
HSVhsv(264, 35%, 84%)
CMYKcmyk(20.9%, 34.9%, 0%, 15.7%)
CIE-LABlab(63.51, 26.31, -34.26)
CIE-LCHlch(63.51, 43.20, 307.52°)
OKLaboklab(69.59% 0.0592 -0.0948)
OKLCHoklch(69.59% 0.112 302)
XYZxyz(38.2188, 32.2085, 68.4802)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CD7 #B9D78C
analogous
#8C94D7 #AA8CD7 #D08CD7
triadic
#AA8CD7 #D7AA8C #8CD7AA
tetradic
#AA8CD7 #D78C94 #B9D78C #8CD7D0
square
#AA8CD7 #D78C94 #B9D78C #8CD7D0
split-complementary
#AA8CD7 #D7D08C #94D78C
monochromatic
#693CAD #885FC7 #AA8CD7 #CCB9E7 #EDE7F7

Accessibility & contrast

On white

2.82
#AA8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AA8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CD7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CD7#FFFFFF#000000##000000
##AA8CD71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DA
Deuteranopia (green-blind)
#819AD5
Tritanopia (blue-blind)
#A298A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8cd7;
/* rgb */ color: rgb(170, 140, 215);
/* oklch */ color: oklch(69.6% 0.112 302.0);
Tailwind
colors: {
  custom: {
    50: '#c4aee3',
    500: '#aa8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cd7;
$custom-light: #c4aee3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cd7",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 264,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69586,
    "c": 0.11179,
    "h": 302
  },
  "luminance": 0.32209
}

Semantic roles & 50–950 ramp

primary
#AA8CD7
secondary
#E2EAD5
accent
#BC2A81
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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