#AA8CB2#AA8CB2

#AA8CB2 is a light, moderate purple. Relative luminance 0.305; OKLCH L 68.0% C 0.064 H 319.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AA8CB2
RGBrgb(170, 140, 178)
HSLhsl(287, 20%, 62%)
HSVhsv(287, 21%, 70%)
CMYKcmyk(4.5%, 21.3%, 0%, 30.2%)
CIE-LABlab(62.10, 18.27, -15.65)
CIE-LCHlch(62.10, 24.06, 319.43°)
OKLaboklab(68.03% 0.0487 -0.0422)
OKLCHoklch(68.03% 0.064 319.1)
XYZxyz(33.9904, 30.5171, 46.2106)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8CB2 #94B28C
analogous
#978CB2 #AA8CB2 #B28CA7
triadic
#AA8CB2 #B2AA8C #8CB2AA
tetradic
#AA8CB2 #B2978C #94B28C #8CA7B2
square
#AA8CB2 #B2978C #94B28C #8CA7B2
split-complementary
#AA8CB2 #A7B28C #8CB297
monochromatic
#6D4E75 #8F6799 #AA8CB2 #C5B1CB #E0D5E3

Accessibility & contrast

On white

2.96
#AA8CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AA8CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8CB2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8CB2#FFFFFF#000000##000000
##AA8CB21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8894B4
Deuteranopia (green-blind)
#8E97B1
Tritanopia (blue-blind)
#AB9099
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa8cb2;
/* rgb */ color: rgb(170, 140, 178);
/* oklch */ color: oklch(68.0% 0.064 319.1);
Tailwind
colors: {
  custom: {
    50: '#c3adc9',
    500: '#aa8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8cb2;
$custom-light: #c3adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8cb2",
  "rgb": {
    "r": 170,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 287.368,
    "s": 19.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.06447,
    "h": 319.1
  },
  "luminance": 0.30517
}

Semantic roles & 50–950 ramp

primary
#AA8CB2
secondary
#C9D4C6
accent
#9E475A
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #AA8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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