#AB89FF#AB89FF

#AB89FF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.2% C 0.169 H 295.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AB89FF
RGBrgb(171, 137, 255)
HSLhsl(257, 100%, 77%)
HSVhsv(257, 46%, 100%)
CMYKcmyk(32.9%, 46.3%, 0%, 0%)
CIE-LABlab(64.78, 37.98, -54.35)
CIE-LCHlch(64.78, 66.31, 304.94°)
OKLaboklab(71.18% 0.0715 -0.1531)
OKLCHoklch(71.18% 0.169 295)
XYZxyz(43.7857, 33.7685, 98.7995)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89FF #DDFF89
analogous
#89A2FF #AB89FF #E689FF
triadic
#AB89FF #FFAB89 #89FFAB
tetradic
#AB89FF #FF89A2 #DDFF89 #89FFE6
square
#AB89FF #FF89A2 #DDFF89 #89FFE6
split-complementary
#AB89FF #FFE689 #A2FF89
monochromatic
#540FFF #7F4CFF #AB89FF #D7C6FF #E9E0FF

Accessibility & contrast

On white

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

On black

7.75
#AB89FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89FF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89FF#FFFFFF#000000##000000
##AB89FF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#989FB8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab89ff;
/* rgb */ color: rgb(171, 137, 255);
/* oklch */ color: oklch(71.2% 0.169 295.0);
Tailwind
colors: {
  custom: {
    50: '#c7acff',
    500: '#ab89ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab89ff;
$custom-light: #c7acff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89ff",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 257.288,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71176,
    "c": 0.16893,
    "h": 295
  },
  "luminance": 0.33769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB89FF

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

Preview Lab → · Contrast checker → · Palette generator →

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