#AB89E4#AB89E4

#AB89E4 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.134 H 300.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AB89E4
RGBrgb(171, 137, 228)
HSLhsl(262, 63%, 72%)
HSVhsv(262, 40%, 89%)
CMYKcmyk(25%, 39.9%, 0%, 10.6%)
CIE-LABlab(63.47, 31.35, -41.56)
CIE-LCHlch(63.47, 52.06, 307.03°)
OKLaboklab(69.76% 0.0673 -0.1158)
OKLCHoklch(69.76% 0.134 300.2)
XYZxyz(39.7407, 32.1505, 77.4957)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89E4 #C2E489
analogous
#8995E4 #AB89E4 #D989E4
triadic
#AB89E4 #E4AB89 #89E4AB
tetradic
#AB89E4 #E48995 #C2E489 #89E4D9
square
#AB89E4 #E48995 #C2E489 #89E4D9
split-complementary
#AB89E4 #E4D989 #95E489
monochromatic
#662DC5 #8857D9 #AB89E4 #CEBBEF #EDE6F9

Accessibility & contrast

On white

2.83
#AB89E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AB89E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89E4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89E4#FFFFFF#000000##000000
##AB89E41.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E7
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#A098AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab89e4;
/* rgb */ color: rgb(171, 137, 228);
/* oklch */ color: oklch(69.8% 0.134 300.2);
Tailwind
colors: {
  custom: {
    50: '#c6aced',
    500: '#ab89e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab89e4;
$custom-light: #c6aced;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89e4",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 228
  },
  "hsl": {
    "h": 262.418,
    "s": 62.759,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.13399,
    "h": 300.2
  },
  "luminance": 0.32151
}

Semantic roles & 50–950 ramp

primary
#AB89E4
secondary
#E7F0D9
accent
#CB1B89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB89E4

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

Preview Lab → · Contrast checker → · Palette generator →

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