#AB89FD#AB89FD

#AB89FD is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.166 H 295.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AB89FD
RGBrgb(171, 137, 253)
HSLhsl(258, 97%, 76%)
HSVhsv(258, 46%, 99%)
CMYKcmyk(32.4%, 45.8%, 0%, 0.8%)
CIE-LABlab(64.68, 37.47, -53.42)
CIE-LCHlch(64.68, 65.25, 305.05°)
OKLaboklab(71.07% 0.0712 -0.1503)
OKLCHoklch(71.07% 0.166 295.4)
XYZxyz(43.4654, 33.6404, 97.1127)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89FD #DBFD89
analogous
#89A1FD #AB89FD #E589FD
triadic
#AB89FD #FDAB89 #89FDAB
tetradic
#AB89FD #FD89A1 #DBFD89 #89FDE5
square
#AB89FD #FD89A1 #DBFD89 #89FDE5
split-complementary
#AB89FD #FDE589 #A1FD89
monochromatic
#5511FB #804DFC #AB89FD #D6C5FE #EAE1FE

Accessibility & contrast

On white

2.72
#AB89FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AB89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89FD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89FD#FFFFFF#000000##000000
##AB89FD1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#999FB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab89fd;
/* rgb */ color: rgb(171, 137, 253);
/* oklch */ color: oklch(71.1% 0.166 295.4);
Tailwind
colors: {
  custom: {
    50: '#c7acfe',
    500: '#ab89fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab89fd;
$custom-light: #c7acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89fd",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 257.586,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71066,
    "c": 0.16637,
    "h": 295.4
  },
  "luminance": 0.33641
}

Semantic roles & 50–950 ramp

primary
#AB89FD
secondary
#EDF7D4
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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