#AB89F7#AB89F7

#AB89F7 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.7% C 0.159 H 296.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AB89F7
RGBrgb(171, 137, 247)
HSLhsl(259, 87%, 75%)
HSVhsv(259, 45%, 97%)
CMYKcmyk(30.8%, 44.5%, 0%, 3.1%)
CIE-LABlab(64.37, 35.98, -50.61)
CIE-LCHlch(64.37, 62.09, 305.41°)
OKLaboklab(70.74% 0.0705 -0.1421)
OKLCHoklch(70.74% 0.159 296.4)
XYZxyz(42.5246, 33.2641, 92.1579)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89F7 #D5F789
analogous
#899EF7 #AB89F7 #E289F7
triadic
#AB89F7 #F7AB89 #89F7AB
tetradic
#AB89F7 #F7899E #D5F789 #89F7E2
square
#AB89F7 #F7899E #D5F789 #89F7E2
split-complementary
#AB89F7 #F7E289 #9EF789
monochromatic
#5916EF #8250F3 #AB89F7 #D4C2FB #EBE2FD

Accessibility & contrast

On white

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

On black

7.65
#AB89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89F7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89F7#FFFFFF#000000##000000
##AB89F71.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#9B9DB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab89f7;
/* rgb */ color: rgb(171, 137, 247);
/* oklch */ color: oklch(70.7% 0.159 296.4);
Tailwind
colors: {
  custom: {
    50: '#c7acfa',
    500: '#ab89f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab89f7;
$custom-light: #c7acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89f7",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 258.545,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.15865,
    "h": 296.4
  },
  "luminance": 0.33265
}

Semantic roles & 50–950 ramp

primary
#AB89F7
secondary
#EBF5D6
accent
#E4029E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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