#AB89CF#AB89CF

#AB89CF is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.8% C 0.107 H 306.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AB89CF
RGBrgb(171, 137, 207)
HSLhsl(269, 42%, 67%)
HSVhsv(269, 34%, 81%)
CMYKcmyk(17.4%, 33.8%, 0%, 18.8%)
CIE-LABlab(62.55, 26.49, -31.28)
CIE-LCHlch(62.55, 40.99, 310.26°)
OKLaboklab(68.77% 0.0628 -0.0863)
OKLCHoklch(68.77% 0.107 306)
XYZxyz(37.0005, 31.0545, 63.0643)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89CF #ADCF89
analogous
#898ACF #AB89CF #CE89CF
triadic
#AB89CF #CFAB89 #89CFAB
tetradic
#AB89CF #CF898A #ADCF89 #89CFCE
square
#AB89CF #CF898A #ADCF89 #89CFCE
split-complementary
#AB89CF #CFCE89 #8ACF89
monochromatic
#6D409E #8C5DBD #AB89CF #CAB5E1 #E9E0F2

Accessibility & contrast

On white

2.91
#AB89CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AB89CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89CF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89CF#FFFFFF#000000##000000
##AB89CF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D2
Deuteranopia (green-blind)
#8298CD
Tritanopia (blue-blind)
#A693A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab89cf;
/* rgb */ color: rgb(171, 137, 207);
/* oklch */ color: oklch(68.8% 0.107 306.0);
Tailwind
colors: {
  custom: {
    50: '#c5abde',
    500: '#ab89cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab89cf;
$custom-light: #c5abde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89cf",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 269.143,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68766,
    "c": 0.10668,
    "h": 306
  },
  "luminance": 0.31054
}

Semantic roles & 50–950 ramp

primary
#AB89CF
secondary
#DAE5CF
accent
#B53075
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB89CF

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

Preview Lab → · Contrast checker → · Palette generator →

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