#AB89DC#AB89DC

#AB89DC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.124 H 302.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AB89DC
RGBrgb(171, 137, 220)
HSLhsl(265, 54%, 70%)
HSVhsv(265, 38%, 86%)
CMYKcmyk(22.3%, 37.7%, 0%, 13.7%)
CIE-LABlab(63.11, 29.47, -37.67)
CIE-LCHlch(63.11, 47.83, 308.03°)
OKLaboklab(69.37% 0.0657 -0.1046)
OKLCHoklch(69.37% 0.124 302.1)
XYZxyz(38.6557, 31.7165, 71.7817)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89DC #BADC89
analogous
#8991DC #AB89DC #D489DC
triadic
#AB89DC #DCAB89 #89DCAB
tetradic
#AB89DC #DC8991 #BADC89 #89DCD4
square
#AB89DC #DC8991 #BADC89 #89DCD4
split-complementary
#AB89DC #DCD489 #91DC89
monochromatic
#6A36B5 #895ACE #AB89DC #CDB8EA #EEE7F8

Accessibility & contrast

On white

2.86
#AB89DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AB89DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89DC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89DC#FFFFFF#000000##000000
##AB89DC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#7C98DA
Tritanopia (blue-blind)
#A396A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab89dc;
/* rgb */ color: rgb(171, 137, 220);
/* oklch */ color: oklch(69.4% 0.124 302.1);
Tailwind
colors: {
  custom: {
    50: '#c5ace7',
    500: '#ab89dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab89dc;
$custom-light: #c5ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89dc",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 264.578,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.6937,
    "c": 0.12356,
    "h": 302.1
  },
  "luminance": 0.31717
}

Semantic roles & 50–950 ramp

primary
#AB89DC
secondary
#E3ECD5
accent
#C22481
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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