#AB89F3#AB89F3

#AB89F3 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.5% C 0.153 H 297.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AB89F3
RGBrgb(171, 137, 243)
HSLhsl(259, 82%, 75%)
HSVhsv(259, 44%, 95%)
CMYKcmyk(29.6%, 43.6%, 0%, 4.7%)
CIE-LABlab(64.18, 34.99, -48.72)
CIE-LCHlch(64.18, 59.98, 305.68°)
OKLaboklab(70.53% 0.0699 -0.1366)
OKLCHoklch(70.53% 0.153 297.1)
XYZxyz(41.9140, 33.0198, 88.9419)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB89F3 #D1F389
analogous
#899CF3 #AB89F3 #E089F3
triadic
#AB89F3 #F3AB89 #89F3AB
tetradic
#AB89F3 #F3899C #D1F389 #89F3E0
square
#AB89F3 #F3899C #D1F389 #89F3E0
split-complementary
#AB89F3 #F3E089 #9CF389
monochromatic
#5C1AE8 #8351ED #AB89F3 #D3C1F9 #EBE3FC

Accessibility & contrast

On white

2.76
#AB89F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AB89F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB89F3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB89F3#FFFFFF#000000##000000
##AB89F31.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF7
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#9C9CB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab89f3;
/* rgb */ color: rgb(171, 137, 243);
/* oklch */ color: oklch(70.5% 0.153 297.1);
Tailwind
colors: {
  custom: {
    50: '#c6acf7',
    500: '#ab89f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab89f3;
$custom-light: #c6acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab89f3",
  "rgb": {
    "r": 171,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 259.245,
    "s": 81.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.15347,
    "h": 297.1
  },
  "luminance": 0.3302
}

Semantic roles & 50–950 ramp

primary
#AB89F3
secondary
#EBF4D7
accent
#DE0899
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB89F3

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

Preview Lab → · Contrast checker → · Palette generator →

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