#AB89FC#AB89FC

#AB89FC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.165 H 295.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AB89FC
RGBrgb(171, 137, 252)
HSLhsl(258, 95%, 76%)
HSVhsv(258, 46%, 99%)
CMYKcmyk(32.1%, 45.6%, 0%, 1.2%)
CIE-LABlab(64.63, 37.22, -52.95)
CIE-LCHlch(64.63, 64.73, 305.11°)
OKLaboklab(71.01% 0.0711 -0.149)
OKLCHoklch(71.01% 0.165 295.5)
XYZxyz(43.3065, 33.5769, 96.2759)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89FC #DAFC89
analogous
#89A1FC #AB89FC #E589FC
triadic
#AB89FC #FCAB89 #89FCAB
tetradic
#AB89FC #FC89A1 #DAFC89 #89FCE5
square
#AB89FC #FC89A1 #DAFC89 #89FCE5
split-complementary
#AB89FC #FCE589 #A1FC89
monochromatic
#5612F9 #814DFA #AB89FC #D5C5FE #EAE1FE

Accessibility & contrast

On white

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

On black

7.72
#AB89FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89FC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89FC#FFFFFF#000000##000000
##AB89FC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab89fc;
/* rgb */ color: rgb(171, 137, 252);
/* oklch */ color: oklch(71.0% 0.165 295.5);
Tailwind
colors: {
  custom: {
    50: '#c7acfe',
    500: '#ab89fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab89fc;
$custom-light: #c7acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89fc",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 257.739,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.16509,
    "h": 295.5
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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