#AB86CA#AB86CA

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

Color values

HEX#AB86CA
RGBrgb(171, 134, 202)
HSLhsl(273, 39%, 66%)
HSVhsv(273, 34%, 79%)
CMYKcmyk(15.3%, 33.7%, 0%, 20.8%)
CIE-LABlab(61.63, 27.08, -29.90)
CIE-LCHlch(61.63, 40.34, 312.16°)
OKLaboklab(68% 0.0659 -0.0823)
OKLCHoklch(68% 0.105 308.7)
XYZxyz(35.9784, 29.9727, 59.7556)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86CA #A5CA86
analogous
#8986CA #AB86CA #CA86C7
triadic
#AB86CA #CAAB86 #86CAAB
tetradic
#AB86CA #CA8986 #A5CA86 #86C7CA
square
#AB86CA #CA8986 #A5CA86 #86C7CA
split-complementary
#AB86CA #C7CA86 #86CA89
monochromatic
#6E4195 #8D5BB7 #AB86CA #C9B1DD #E6DBEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB86CA#FFFFFF#000000##000000
##AB86CA1.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)
#7993CD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#A7909F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab86ca;
/* rgb */ color: rgb(171, 134, 202);
/* oklch */ color: oklch(68.0% 0.105 308.7);
Tailwind
colors: {
  custom: {
    50: '#c5a9da',
    500: '#ab86ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab86ca;
$custom-light: #c5a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86ca",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 272.647,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.10547,
    "h": 308.7
  },
  "luminance": 0.29972
}

Semantic roles & 50–950 ramp

primary
#AB86CA
secondary
#D5E1CB
accent
#B2336D
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AB86CA

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

Preview Lab → · Contrast checker → · Palette generator →

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