#AB89FE#AB89FE

#AB89FE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.168 H 295.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AB89FE
RGBrgb(171, 137, 254)
HSLhsl(257, 98%, 77%)
HSVhsv(257, 46%, 100%)
CMYKcmyk(32.7%, 46.1%, 0%, 0.4%)
CIE-LABlab(64.73, 37.73, -53.89)
CIE-LCHlch(64.73, 65.78, 305.00°)
OKLaboklab(71.12% 0.0714 -0.1517)
OKLCHoklch(71.12% 0.168 295.2)
XYZxyz(43.6251, 33.7043, 97.9539)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89FE #DCFE89
analogous
#89A2FE #AB89FE #E689FE
triadic
#AB89FE #FEAB89 #89FEAB
tetradic
#AB89FE #FE89A2 #DCFE89 #89FEE6
square
#AB89FE #FE89A2 #DCFE89 #89FEE6
split-complementary
#AB89FE #FEE689 #A2FE89
monochromatic
#5510FD #804CFD #AB89FE #D6C6FF #E9E1FF

Accessibility & contrast

On white

2.71
#AB89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AB89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89FE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89FE#FFFFFF#000000##000000
##AB89FE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#989FB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab89fe;
/* rgb */ color: rgb(171, 137, 254);
/* oklch */ color: oklch(71.1% 0.168 295.2);
Tailwind
colors: {
  custom: {
    50: '#c7acff',
    500: '#ab89fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab89fe;
$custom-light: #c7acff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89fe",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 257.436,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.16765,
    "h": 295.2
  },
  "luminance": 0.33705
}

Semantic roles & 50–950 ramp

primary
#AB89FE
secondary
#EDF7D4
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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