#AB89F8#AB89F8

#AB89F8 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.160 H 296.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#AB89F8
RGBrgb(171, 137, 248)
HSLhsl(258, 89%, 75%)
HSVhsv(258, 45%, 97%)
CMYKcmyk(31%, 44.8%, 0%, 2.7%)
CIE-LABlab(64.42, 36.23, -51.08)
CIE-LCHlch(64.42, 62.62, 305.34°)
OKLaboklab(70.79% 0.0706 -0.1435)
OKLCHoklch(70.79% 0.16 296.2)
XYZxyz(42.6794, 33.3260, 92.9727)
Luminance0.3333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89F8 #D6F889
analogous
#899EF8 #AB89F8 #E289F8
triadic
#AB89F8 #F8AB89 #89F8AB
tetradic
#AB89F8 #F8899E #D6F889 #89F8E2
square
#AB89F8 #F8899E #D6F889 #89F8E2
split-complementary
#AB89F8 #F8E289 #9EF889
monochromatic
#5915F1 #824FF5 #AB89F8 #D4C3FB #EAE2FD

Accessibility & contrast

On white

2.74
#AB89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#AB89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89F8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89F8#FFFFFF#000000##000000
##AB89F81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#9A9DB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab89f8;
/* rgb */ color: rgb(171, 137, 248);
/* oklch */ color: oklch(70.8% 0.160 296.2);
Tailwind
colors: {
  custom: {
    50: '#c7acfb',
    500: '#ab89f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab89f8;
$custom-light: #c7acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89f8",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 258.378,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70794,
    "c": 0.15993,
    "h": 296.2
  },
  "luminance": 0.33327
}

Semantic roles & 50–950 ramp

primary
#AB89F8
secondary
#ECF5D6
accent
#E5009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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