#AB89CE#AB89CE

#AB89CE is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.7% C 0.105 H 306.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AB89CE
RGBrgb(171, 137, 206)
HSLhsl(270, 41%, 67%)
HSVhsv(270, 33%, 81%)
CMYKcmyk(17%, 33.5%, 0%, 19.2%)
CIE-LABlab(62.51, 26.27, -30.78)
CIE-LCHlch(62.51, 40.46, 310.48°)
OKLaboklab(68.72% 0.0625 -0.0848)
OKLCHoklch(68.72% 0.105 306.4)
XYZxyz(36.8787, 31.0057, 62.4224)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89CE #ACCE89
analogous
#898ACE #AB89CE #CD89CE
triadic
#AB89CE #CEAB89 #89CEAB
tetradic
#AB89CE #CE898A #ACCE89 #89CECD
square
#AB89CE #CE898A #ACCE89 #89CECD
split-complementary
#AB89CE #CECD89 #8ACE89
monochromatic
#6E419C #8C5EBC #AB89CE #CAB4E0 #E9DFF2

Accessibility & contrast

On white

2.92
#AB89CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AB89CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89CE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89CE#FFFFFF#000000##000000
##AB89CE1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D1
Deuteranopia (green-blind)
#8297CC
Tritanopia (blue-blind)
#A693A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab89ce;
/* rgb */ color: rgb(171, 137, 206);
/* oklch */ color: oklch(68.7% 0.105 306.4);
Tailwind
colors: {
  custom: {
    50: '#c5abdd',
    500: '#ab89ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab89ce;
$custom-light: #c5abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89ce",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 206
  },
  "hsl": {
    "h": 269.565,
    "s": 41.317,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.10539,
    "h": 306.4
  },
  "luminance": 0.31005
}

Semantic roles & 50–950 ramp

primary
#AB89CE
secondary
#DAE4CF
accent
#B43174
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB89CE

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

Preview Lab → · Contrast checker → · Palette generator →

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