#AA86CC#AA86CC

#AA86CC is a light, moderate violet. Relative luminance 0.300; OKLCH L 68.0% C 0.108 H 307.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AA86CC
RGBrgb(170, 134, 204)
HSLhsl(271, 41%, 66%)
HSVhsv(271, 34%, 80%)
CMYKcmyk(16.7%, 34.3%, 0%, 20%)
CIE-LABlab(61.62, 27.21, -31.05)
CIE-LCHlch(61.62, 41.29, 311.22°)
OKLaboklab(67.99% 0.0653 -0.0856)
OKLCHoklch(67.99% 0.108 307.3)
XYZxyz(35.9997, 29.9562, 61.0006)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86CC #A8CC86
analogous
#8786CC #AA86CC #CC86CB
triadic
#AA86CC #CCAA86 #86CCAA
tetradic
#AA86CC #CC8786 #A8CC86 #86CBCC
square
#AA86CC #CC8786 #A8CC86 #86CBCC
split-complementary
#AA86CC #CBCC86 #86CC87
monochromatic
#6D4098 #8C5BBA #AA86CC #C8B1DE #E6DCF0

Accessibility & contrast

On white

3.00
#AA86CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AA86CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA86CC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86CC#FFFFFF#000000##000000
##AA86CC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#A590A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa86cc;
/* rgb */ color: rgb(170, 134, 204);
/* oklch */ color: oklch(68.0% 0.108 307.3);
Tailwind
colors: {
  custom: {
    50: '#c4a9db',
    500: '#aa86cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa86cc;
$custom-light: #c4a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86cc",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 270.857,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67989,
    "c": 0.10766,
    "h": 307.3
  },
  "luminance": 0.29956
}

Semantic roles & 50–950 ramp

primary
#AA86CC
secondary
#D7E2CB
accent
#B43271
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA86CC

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

Preview Lab → · Contrast checker → · Palette generator →

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