#AB89EE#AB89EE

#AB89EE is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.3% C 0.147 H 298.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AB89EE
RGBrgb(171, 137, 238)
HSLhsl(260, 75%, 74%)
HSVhsv(260, 42%, 93%)
CMYKcmyk(28.2%, 42.4%, 0%, 6.7%)
CIE-LABlab(63.94, 33.76, -46.35)
CIE-LCHlch(63.94, 57.34, 306.07°)
OKLaboklab(70.27% 0.0691 -0.1297)
OKLCHoklch(70.27% 0.147 298)
XYZxyz(41.1692, 32.7219, 85.0193)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89EE #CCEE89
analogous
#8999EE #AB89EE #DD89EE
triadic
#AB89EE #EEAB89 #89EEAB
tetradic
#AB89EE #EE8999 #CCEE89 #89EEDD
square
#AB89EE #EE8999 #CCEE89 #89EEDD
split-complementary
#AB89EE #EEDD89 #99EE89
monochromatic
#5F20DD #8554E6 #AB89EE #D1BEF6 #ECE4FB

Accessibility & contrast

On white

2.78
#AB89EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AB89EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89EE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89EE#FFFFFF#000000##000000
##AB89EE1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#9D9BB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab89ee;
/* rgb */ color: rgb(171, 137, 238);
/* oklch */ color: oklch(70.3% 0.147 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6acf4',
    500: '#ab89ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab89ee;
$custom-light: #c6acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89ee",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 260.198,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.14699,
    "h": 298
  },
  "luminance": 0.32722
}

Semantic roles & 50–950 ramp

primary
#AB89EE
secondary
#EAF3D8
accent
#D70F93
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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