#AB89CA#AB89CA

#AB89CA is a light, moderate violet. Relative luminance 0.308; OKLCH L 68.5% C 0.100 H 307.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#AB89CA
RGBrgb(171, 137, 202)
HSLhsl(271, 38%, 66%)
HSVhsv(271, 32%, 79%)
CMYKcmyk(15.3%, 32.2%, 0%, 20.8%)
CIE-LABlab(62.35, 25.38, -28.79)
CIE-LCHlch(62.35, 38.38, 311.40°)
OKLaboklab(68.54% 0.0615 -0.0792)
OKLCHoklch(68.54% 0.1 307.8)
XYZxyz(36.3989, 30.8138, 59.8958)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89CA #A8CA89
analogous
#8B89CA #AB89CA #CA89C9
triadic
#AB89CA #CAAB89 #89CAAB
tetradic
#AB89CA #CA8B89 #A8CA89 #89C9CA
square
#AB89CA #CA8B89 #A8CA89 #89C9CA
split-complementary
#AB89CA #C9CA89 #89CA8B
monochromatic
#6E4395 #8D5FB7 #AB89CA #C9B3DD #E7DDF0

Accessibility & contrast

On white

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

On black

7.16
#AB89CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89CA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89CA#FFFFFF#000000##000000
##AB89CA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CD
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#A792A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab89ca;
/* rgb */ color: rgb(171, 137, 202);
/* oklch */ color: oklch(68.5% 0.100 307.8);
Tailwind
colors: {
  custom: {
    50: '#c5abda',
    500: '#ab89ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab89ca;
$custom-light: #c5abda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89ca",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 271.385,
    "s": 38.012,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68544,
    "c": 0.10025,
    "h": 307.8
  },
  "luminance": 0.30814
}

Semantic roles & 50–950 ramp

primary
#AB89CA
secondary
#D7E2CD
accent
#B13570
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AB89CA

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

Preview Lab → · Contrast checker → · Palette generator →

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