#AB89EC#AB89EC

#AB89EC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.2% C 0.144 H 298.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AB89EC
RGBrgb(171, 137, 236)
HSLhsl(261, 72%, 73%)
HSVhsv(261, 42%, 93%)
CMYKcmyk(27.5%, 41.9%, 0%, 7.5%)
CIE-LABlab(63.84, 33.28, -45.40)
CIE-LCHlch(63.84, 56.29, 306.24°)
OKLaboklab(70.16% 0.0688 -0.127)
OKLCHoklch(70.16% 0.144 298.4)
XYZxyz(40.8770, 32.6051, 83.4805)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89EC #CAEC89
analogous
#8998EC #AB89EC #DC89EC
triadic
#AB89EC #ECAB89 #89ECAB
tetradic
#AB89EC #EC8998 #CAEC89 #89ECDC
square
#AB89EC #EC8998 #CAEC89 #89ECDC
split-complementary
#AB89EC #ECDC89 #98EC89
monochromatic
#6123D8 #8554E4 #AB89EC #D1BEF4 #ECE5FB

Accessibility & contrast

On white

2.79
#AB89EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#AB89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89EC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89EC#FFFFFF#000000##000000
##AB89EC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab89ec;
/* rgb */ color: rgb(171, 137, 236);
/* oklch */ color: oklch(70.2% 0.144 298.4);
Tailwind
colors: {
  custom: {
    50: '#c6acf2',
    500: '#ab89ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab89ec;
$custom-light: #c6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89ec",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 260.606,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70163,
    "c": 0.1444,
    "h": 298.4
  },
  "luminance": 0.32605
}

Semantic roles & 50–950 ramp

primary
#AB89EC
secondary
#EAF2D9
accent
#D41191
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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