#AB89E5#AB89E5

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

Color values

HEX#AB89E5
RGBrgb(171, 137, 229)
HSLhsl(262, 64%, 72%)
HSVhsv(262, 40%, 90%)
CMYKcmyk(25.3%, 40.2%, 0%, 10.2%)
CIE-LABlab(63.51, 31.59, -42.04)
CIE-LCHlch(63.51, 52.58, 306.92°)
OKLaboklab(69.81% 0.0675 -0.1172)
OKLCHoklch(69.81% 0.135 299.9)
XYZxyz(39.8799, 32.2062, 78.2290)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89E5 #C3E589
analogous
#8995E5 #AB89E5 #D989E5
triadic
#AB89E5 #E5AB89 #89E5AB
tetradic
#AB89E5 #E58995 #C3E589 #89E5D9
square
#AB89E5 #E58995 #C3E589 #89E5D9
split-complementary
#AB89E5 #E5D989 #95E589
monochromatic
#662CC8 #8757DA #AB89E5 #CFBBF0 #EDE6F9

Accessibility & contrast

On white

2.82
#AB89E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AB89E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89E5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89E5#FFFFFF#000000##000000
##AB89E51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AE8
Deuteranopia (green-blind)
#7899E3
Tritanopia (blue-blind)
#A099AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab89e5;
/* rgb */ color: rgb(171, 137, 229);
/* oklch */ color: oklch(69.8% 0.135 299.9);
Tailwind
colors: {
  custom: {
    50: '#c6aced',
    500: '#ab89e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab89e5;
$custom-light: #c6aced;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89e5",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 262.174,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.13529,
    "h": 299.9
  },
  "luminance": 0.32206
}

Semantic roles & 50–950 ramp

primary
#AB89E5
secondary
#E8F1D9
accent
#CC1A8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB89E5

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

Preview Lab → · Contrast checker → · Palette generator →

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