#AB89CD#AB89CD

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

Color values

HEX#AB89CD
RGBrgb(171, 137, 205)
HSLhsl(270, 40%, 67%)
HSVhsv(270, 33%, 80%)
CMYKcmyk(16.6%, 33.2%, 0%, 19.6%)
CIE-LABlab(62.47, 26.04, -30.28)
CIE-LCHlch(62.47, 39.94, 310.70°)
OKLaboklab(68.68% 0.0623 -0.0834)
OKLCHoklch(68.68% 0.104 306.7)
XYZxyz(36.7576, 30.9573, 61.7847)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89CD #ABCD89
analogous
#8989CD #AB89CD #CD89CD
triadic
#AB89CD #CDAB89 #89CDAB
tetradic
#AB89CD #CD8989 #ABCD89 #89CDCD
square
#AB89CD #CD8989 #ABCD89 #89CDCD
split-complementary
#AB89CD #CDCD89 #89CD89
monochromatic
#6E419A #8C5EBB #AB89CD #CAB4DF #E8DFF1

Accessibility & contrast

On white

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

On black

7.19
#AB89CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89CD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89CD#FFFFFF#000000##000000
##AB89CD1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D0
Deuteranopia (green-blind)
#8397CB
Tritanopia (blue-blind)
#A693A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab89cd;
/* rgb */ color: rgb(171, 137, 205);
/* oklch */ color: oklch(68.7% 0.104 306.7);
Tailwind
colors: {
  custom: {
    50: '#c5abdc',
    500: '#ab89cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab89cd;
$custom-light: #c5abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89cd",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68676,
    "c": 0.1041,
    "h": 306.7
  },
  "luminance": 0.30957
}

Semantic roles & 50–950 ramp

primary
#AB89CD
secondary
#D9E4CE
accent
#B43273
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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