#AA8CDC#AA8CDC

#AA8CDC is a light, moderate violet. Relative luminance 0.325; OKLCH L 69.8% C 0.118 H 300.6°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AA8CDC
RGBrgb(170, 140, 220)
HSLhsl(263, 53%, 71%)
HSVhsv(263, 36%, 86%)
CMYKcmyk(22.7%, 36.4%, 0%, 13.7%)
CIE-LABlab(63.73, 27.48, -36.71)
CIE-LCHlch(63.73, 45.85, 306.81°)
OKLaboklab(69.82% 0.0603 -0.1019)
OKLCHoklch(69.82% 0.118 300.6)
XYZxyz(38.8711, 32.4694, 71.9156)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CDC #BEDC8C
analogous
#8C96DC #AA8CDC #D28CDC
triadic
#AA8CDC #DCAA8C #8CDCAA
tetradic
#AA8CDC #DC8C96 #BEDC8C #8CDCD2
square
#AA8CDC #DC8C96 #BEDC8C #8CDCD2
split-complementary
#AA8CDC #DCD28C #96DC8C
monochromatic
#6737B6 #875DCE #AA8CDC #CDBBEA #EEE8F8

Accessibility & contrast

On white

2.80
#AA8CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AA8CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CDC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CDC#FFFFFF#000000##000000
##AA8CDC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#7E9ADA
Tritanopia (blue-blind)
#A199AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa8cdc;
/* rgb */ color: rgb(170, 140, 220);
/* oklch */ color: oklch(69.8% 0.118 300.6);
Tailwind
colors: {
  custom: {
    50: '#c4aee7',
    500: '#aa8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cdc;
$custom-light: #c4aee7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cdc",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 262.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6982,
    "c": 0.1184,
    "h": 300.6
  },
  "luminance": 0.3247
}

Semantic roles & 50–950 ramp

primary
#AA8CDC
secondary
#E5EDD7
accent
#C12586
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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