#AB89DF#AB89DF

#AB89DF is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.5% C 0.127 H 301.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AB89DF
RGBrgb(171, 137, 223)
HSLhsl(264, 57%, 71%)
HSVhsv(264, 39%, 87%)
CMYKcmyk(23.3%, 38.6%, 0%, 12.5%)
CIE-LABlab(63.24, 30.17, -39.13)
CIE-LCHlch(63.24, 49.41, 307.63°)
OKLaboklab(69.51% 0.0664 -0.1088)
OKLCHoklch(69.51% 0.127 301.4)
XYZxyz(39.0566, 31.8769, 73.8930)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89DF #BDDF89
analogous
#8992DF #AB89DF #D689DF
triadic
#AB89DF #DFAB89 #89DFAB
tetradic
#AB89DF #DF8992 #BDDF89 #89DFD6
square
#AB89DF #DF8992 #BDDF89 #89DFD6
split-complementary
#AB89DF #DFD689 #92DF89
monochromatic
#6933BB #8959D2 #AB89DF #CDB9EC #EEE7F8

Accessibility & contrast

On white

2.85
#AB89DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AB89DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89DF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89DF#FFFFFF#000000##000000
##AB89DF1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#7B99DD
Tritanopia (blue-blind)
#A297A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab89df;
/* rgb */ color: rgb(171, 137, 223);
/* oklch */ color: oklch(69.5% 0.127 301.4);
Tailwind
colors: {
  custom: {
    50: '#c5ace9',
    500: '#ab89df',
    950: '#000000',
  },
}
SCSS
$custom: #ab89df;
$custom-light: #c5ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89df",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 263.721,
    "s": 57.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69514,
    "c": 0.12747,
    "h": 301.4
  },
  "luminance": 0.31877
}

Semantic roles & 50–950 ramp

primary
#AB89DF
secondary
#E4EED6
accent
#C52184
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB89DF

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

Preview Lab → · Contrast checker → · Palette generator →

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