#AA8EB2#AA8EB2

#AA8EB2 is a light, moderate purple. Relative luminance 0.311; OKLCH L 68.4% C 0.061 H 318.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AA8EB2
RGBrgb(170, 142, 178)
HSLhsl(287, 19%, 63%)
HSVhsv(287, 20%, 70%)
CMYKcmyk(4.5%, 20.2%, 0%, 30.2%)
CIE-LABlab(62.60, 17.14, -14.89)
CIE-LCHlch(62.60, 22.71, 319.02°)
OKLaboklab(68.42% 0.0456 -0.0402)
OKLCHoklch(68.42% 0.061 318.6)
XYZxyz(34.2853, 31.1069, 46.3089)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EB2 #96B28E
analogous
#988EB2 #AA8EB2 #B28EA8
triadic
#AA8EB2 #B2AA8E #8EB2AA
tetradic
#AA8EB2 #B2988E #96B28E #8EA8B2
square
#AA8EB2 #B2988E #96B28E #8EA8B2
split-complementary
#AA8EB2 #A8B28E #8EB298
monochromatic
#6D5076 #8F6A99 #AA8EB2 #C5B2CB #E1D7E4

Accessibility & contrast

On white

2.91
#AA8EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AA8EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EB2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EB2#FFFFFF#000000##000000
##AA8EB21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B4
Deuteranopia (green-blind)
#9098B1
Tritanopia (blue-blind)
#AA929A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa8eb2;
/* rgb */ color: rgb(170, 142, 178);
/* oklch */ color: oklch(68.4% 0.061 318.6);
Tailwind
colors: {
  custom: {
    50: '#c3afc9',
    500: '#aa8eb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eb2;
$custom-light: #c3afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eb2",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 286.667,
    "s": 18.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68419,
    "c": 0.06079,
    "h": 318.6
  },
  "luminance": 0.31106
}

Semantic roles & 50–950 ramp

primary
#AA8EB2
secondary
#CAD4C7
accent
#9D485B
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #AA8EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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