#AB87BE#AB87BE

#AB87BE is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.7% C 0.089 H 313.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AB87BE
RGBrgb(171, 135, 190)
HSLhsl(279, 30%, 64%)
HSVhsv(279, 29%, 75%)
CMYKcmyk(10%, 28.9%, 0%, 25.5%)
CIE-LABlab(61.40, 23.92, -23.49)
CIE-LCHlch(61.40, 33.53, 315.52°)
OKLaboklab(67.66% 0.0612 -0.0641)
OKLCHoklch(67.66% 0.089 313.7)
XYZxyz(34.7513, 29.7041, 52.6080)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB87BE #9ABE87
analogous
#8F87BE #AB87BE #BE87B5
triadic
#AB87BE #BEAB87 #87BEAB
tetradic
#AB87BE #BE8F87 #9ABE87 #87B5BE
square
#AB87BE #BE8F87 #9ABE87 #87B5BE
split-complementary
#AB87BE #B5BE87 #87BE8F
monochromatic
#6F4783 #8F5FA8 #AB87BE #C7AFD4 #E3D6E9

Accessibility & contrast

On white

3.03
#AB87BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AB87BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB87BE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB87BE#FFFFFF#000000##000000
##AB87BE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92C0
Deuteranopia (green-blind)
#8795BC
Tritanopia (blue-blind)
#AA8E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab87be;
/* rgb */ color: rgb(171, 135, 190);
/* oklch */ color: oklch(67.7% 0.089 313.7);
Tailwind
colors: {
  custom: {
    50: '#c4aad1',
    500: '#ab87be',
    950: '#000000',
  },
}
SCSS
$custom: #ab87be;
$custom-light: #c4aad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab87be",
  "rgb": {
    "r": 171,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 279.273,
    "s": 29.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67661,
    "c": 0.08868,
    "h": 313.7
  },
  "luminance": 0.29704
}

Semantic roles & 50–950 ramp

primary
#AB87BE
secondary
#CDDAC7
accent
#A83D62
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AB87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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