#AB87BF#AB87BF

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

Color values

HEX#AB87BF
RGBrgb(171, 135, 191)
HSLhsl(279, 30%, 64%)
HSVhsv(279, 29%, 75%)
CMYKcmyk(10.5%, 29.3%, 0%, 25.1%)
CIE-LABlab(61.44, 24.13, -24.00)
CIE-LCHlch(61.44, 34.03, 315.16°)
OKLaboklab(67.7% 0.0615 -0.0656)
OKLCHoklch(67.7% 0.09 313.2)
XYZxyz(34.8610, 29.7480, 53.1856)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB87BF #9BBF87
analogous
#8F87BF #AB87BF #BF87B7
triadic
#AB87BF #BFAB87 #87BFAB
tetradic
#AB87BF #BF8F87 #9BBF87 #87B7BF
square
#AB87BF #BF8F87 #9BBF87 #87B7BF
split-complementary
#AB87BF #B7BF87 #87BF8F
monochromatic
#6F4785 #8F5FAA #AB87BF #C7AFD4 #E3D7EA

Accessibility & contrast

On white

3.02
#AB87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#AB87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB87BF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB87BF#FFFFFF#000000##000000
##AB87BF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C1
Deuteranopia (green-blind)
#8695BD
Tritanopia (blue-blind)
#AA8E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab87bf;
/* rgb */ color: rgb(171, 135, 191);
/* oklch */ color: oklch(67.7% 0.090 313.2);
Tailwind
colors: {
  custom: {
    50: '#c4aad2',
    500: '#ab87bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab87bf;
$custom-light: #c4aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab87bf",
  "rgb": {
    "r": 171,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 278.571,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67703,
    "c": 0.08991,
    "h": 313.2
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#AB87BF
secondary
#CEDBC7
accent
#A93C63
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AB87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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