#AB89F9#AB89F9

#AB89F9 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.161 H 296.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AB89F9
RGBrgb(171, 137, 249)
HSLhsl(258, 90%, 76%)
HSVhsv(258, 45%, 98%)
CMYKcmyk(31.3%, 45%, 0%, 2.4%)
CIE-LABlab(64.47, 36.47, -51.55)
CIE-LCHlch(64.47, 63.15, 305.28°)
OKLaboklab(70.85% 0.0707 -0.1449)
OKLCHoklch(70.85% 0.161 296)
XYZxyz(42.8349, 33.3882, 93.7920)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89F9 #D7F989
analogous
#899FF9 #AB89F9 #E389F9
triadic
#AB89F9 #F9AB89 #89F9AB
tetradic
#AB89F9 #F9899F #D7F989 #89F9E3
square
#AB89F9 #F9899F #D7F989 #89F9E3
split-complementary
#AB89F9 #F9E389 #9FF989
monochromatic
#5815F3 #824FF6 #AB89F9 #D4C3FC #EAE2FE

Accessibility & contrast

On white

2.74
#AB89F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AB89F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89F9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89F9#FFFFFF#000000##000000
##AB89F91.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#9A9EB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab89f9;
/* rgb */ color: rgb(171, 137, 249);
/* oklch */ color: oklch(70.8% 0.161 296.0);
Tailwind
colors: {
  custom: {
    50: '#c7acfc',
    500: '#ab89f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab89f9;
$custom-light: #c7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89f9",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 249
  },
  "hsl": {
    "h": 258.214,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70848,
    "c": 0.16122,
    "h": 296
  },
  "luminance": 0.33389
}

Semantic roles & 50–950 ramp

primary
#AB89F9
secondary
#ECF6D5
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89F9

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

Preview Lab → · Contrast checker → · Palette generator →

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