#AA86CB#AA86CB

#AA86CB is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.9% C 0.106 H 307.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AA86CB
RGBrgb(170, 134, 203)
HSLhsl(271, 40%, 66%)
HSVhsv(271, 34%, 80%)
CMYKcmyk(16.3%, 34%, 0%, 20.4%)
CIE-LABlab(61.58, 26.99, -30.56)
CIE-LCHlch(61.58, 40.77, 311.45°)
OKLaboklab(67.94% 0.065 -0.0842)
OKLCHoklch(67.94% 0.106 307.7)
XYZxyz(35.8801, 29.9083, 60.3710)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86CB #A7CB86
analogous
#8786CB #AA86CB #CB86C9
triadic
#AA86CB #CBAA86 #86CBAA
tetradic
#AA86CB #CB8786 #A7CB86 #86C9CB
square
#AA86CB #CB8786 #A7CB86 #86C9CB
split-complementary
#AA86CB #C9CB86 #86CB87
monochromatic
#6D4196 #8C5BB9 #AA86CB #C8B1DD #E6DCF0

Accessibility & contrast

On white

3.01
#AA86CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AA86CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA86CB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86CB#FFFFFF#000000##000000
##AA86CB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#A6909F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa86cb;
/* rgb */ color: rgb(170, 134, 203);
/* oklch */ color: oklch(67.9% 0.106 307.7);
Tailwind
colors: {
  custom: {
    50: '#c4a9db',
    500: '#aa86cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa86cb;
$custom-light: #c4a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86cb",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 271.304,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67944,
    "c": 0.10638,
    "h": 307.7
  },
  "luminance": 0.29908
}

Semantic roles & 50–950 ramp

primary
#AA86CB
secondary
#D6E2CB
accent
#B33370
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA86CB

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

Preview Lab → · Contrast checker → · Palette generator →

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