#AB89EB#AB89EB

#AB89EB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.1% C 0.143 H 298.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AB89EB
RGBrgb(171, 137, 235)
HSLhsl(261, 71%, 73%)
HSVhsv(261, 42%, 92%)
CMYKcmyk(27.2%, 41.7%, 0%, 7.8%)
CIE-LABlab(63.79, 33.03, -44.92)
CIE-LCHlch(63.79, 55.76, 306.33°)
OKLaboklab(70.11% 0.0686 -0.1256)
OKLCHoklch(70.11% 0.143 298.6)
XYZxyz(40.7321, 32.5471, 82.7174)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89EB #C9EB89
analogous
#8998EB #AB89EB #DC89EB
triadic
#AB89EB #EBAB89 #89EBAB
tetradic
#AB89EB #EB8998 #C9EB89 #89EBDC
square
#AB89EB #EB8998 #C9EB89 #89EBDC
split-complementary
#AB89EB #EBDC89 #98EB89
monochromatic
#6224D5 #8655E2 #AB89EB #D0BDF4 #ECE5FB

Accessibility & contrast

On white

2.80
#AB89EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AB89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89EB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89EB#FFFFFF#000000##000000
##AB89EB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#749AE8
Tritanopia (blue-blind)
#9E9AAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab89eb;
/* rgb */ color: rgb(171, 137, 235);
/* oklch */ color: oklch(70.1% 0.143 298.6);
Tailwind
colors: {
  custom: {
    50: '#c6acf2',
    500: '#ab89eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab89eb;
$custom-light: #c6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89eb",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 260.816,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70112,
    "c": 0.1431,
    "h": 298.6
  },
  "luminance": 0.32547
}

Semantic roles & 50–950 ramp

primary
#AB89EB
secondary
#E9F2D9
accent
#D31290
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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