#AB89FA#AB89FA

#AB89FA is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.163 H 295.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AB89FA
RGBrgb(171, 137, 250)
HSLhsl(258, 92%, 76%)
HSVhsv(258, 45%, 98%)
CMYKcmyk(31.6%, 45.2%, 0%, 2%)
CIE-LABlab(64.52, 36.72, -52.02)
CIE-LCHlch(64.52, 63.67, 305.22°)
OKLaboklab(70.9% 0.0709 -0.1462)
OKLCHoklch(70.9% 0.163 295.9)
XYZxyz(42.9913, 33.4508, 94.6156)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89FA #D8FA89
analogous
#899FFA #AB89FA #E389FA
triadic
#AB89FA #FAAB89 #89FAAB
tetradic
#AB89FA #FA899F #D8FA89 #89FAE3
square
#AB89FA #FA899F #D8FA89 #89FAE3
split-complementary
#AB89FA #FAE389 #9FFA89
monochromatic
#5714F5 #814EF8 #AB89FA #D5C4FC #EAE2FE

Accessibility & contrast

On white

2.73
#AB89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AB89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89FA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89FA#FFFFFF#000000##000000
##AB89FA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#9A9EB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab89fa;
/* rgb */ color: rgb(171, 137, 250);
/* oklch */ color: oklch(70.9% 0.163 295.9);
Tailwind
colors: {
  custom: {
    50: '#c7acfc',
    500: '#ab89fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab89fa;
$custom-light: #c7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89fa",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 258.053,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70902,
    "c": 0.16251,
    "h": 295.9
  },
  "luminance": 0.33451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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