#AB89CB#AB89CB

#AB89CB is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.6% C 0.102 H 307.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AB89CB
RGBrgb(171, 137, 203)
HSLhsl(271, 39%, 67%)
HSVhsv(271, 33%, 80%)
CMYKcmyk(15.8%, 32.5%, 0%, 20.4%)
CIE-LABlab(62.39, 25.60, -29.29)
CIE-LCHlch(62.39, 38.90, 311.16°)
OKLaboklab(68.59% 0.0618 -0.0806)
OKLCHoklch(68.59% 0.102 307.5)
XYZxyz(36.5177, 30.8613, 60.5214)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89CB #A9CB89
analogous
#8A89CB #AB89CB #CB89CA
triadic
#AB89CB #CBAB89 #89CBAB
tetradic
#AB89CB #CB8A89 #A9CB89 #89CACB
square
#AB89CB #CB8A89 #A9CB89 #89CACB
split-complementary
#AB89CB #CACB89 #89CB8A
monochromatic
#6E4397 #8D5FB8 #AB89CB #C9B3DE #E7DEF0

Accessibility & contrast

On white

2.93
#AB89CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AB89CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89CB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89CB#FFFFFF#000000##000000
##AB89CB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#A792A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab89cb;
/* rgb */ color: rgb(171, 137, 203);
/* oklch */ color: oklch(68.6% 0.102 307.5);
Tailwind
colors: {
  custom: {
    50: '#c5abdb',
    500: '#ab89cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab89cb;
$custom-light: #c5abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89cb",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 270.909,
    "s": 38.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.10153,
    "h": 307.5
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#AB89CB
secondary
#D8E3CD
accent
#B23471
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB89CB

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

Preview Lab → · Contrast checker → · Palette generator →

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