#AB89EF#AB89EF

#AB89EF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.148 H 297.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AB89EF
RGBrgb(171, 137, 239)
HSLhsl(260, 76%, 74%)
HSVhsv(260, 43%, 94%)
CMYKcmyk(28.5%, 42.7%, 0%, 6.3%)
CIE-LABlab(63.98, 34.01, -46.83)
CIE-LCHlch(63.98, 57.87, 305.99°)
OKLaboklab(70.32% 0.0693 -0.1311)
OKLCHoklch(70.32% 0.148 297.8)
XYZxyz(41.3165, 32.7809, 85.7952)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89EF #CDEF89
analogous
#899AEF #AB89EF #DE89EF
triadic
#AB89EF #EFAB89 #89EFAB
tetradic
#AB89EF #EF899A #CDEF89 #89EFDE
square
#AB89EF #EF899A #CDEF89 #89EFDE
split-complementary
#AB89EF #EFDE89 #9AEF89
monochromatic
#5F1EDF #8553E8 #AB89EF #D1BFF6 #ECE4FB

Accessibility & contrast

On white

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

On black

7.56
#AB89EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89EF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89EF#FFFFFF#000000##000000
##AB89EF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#9D9BB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab89ef;
/* rgb */ color: rgb(171, 137, 239);
/* oklch */ color: oklch(70.3% 0.148 297.8);
Tailwind
colors: {
  custom: {
    50: '#c6acf4',
    500: '#ab89ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab89ef;
$custom-light: #c6acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89ef",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70318,
    "c": 0.14829,
    "h": 297.8
  },
  "luminance": 0.32781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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