#AB3AC8#AB3AC8

#AB3AC8 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.221 H 318.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB3AC8
RGBrgb(171, 58, 200)
HSLhsl(288, 56%, 51%)
HSVhsv(288, 71%, 78%)
CMYKcmyk(14.5%, 71%, 0%, 21.6%)
CIE-LABlab(46.78, 64.94, -52.16)
CIE-LCHlch(46.78, 83.30, 321.23°)
OKLaboklab(56.98% 0.1659 -0.1464)
OKLCHoklch(56.98% 0.221 318.6)
XYZxyz(28.7316, 15.8555, 56.1794)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AC8 #57C83A
analogous
#643AC8 #AB3AC8 #C83A9E
triadic
#AB3AC8 #C8AB3A #3AC8AB
tetradic
#AB3AC8 #C8643A #57C83A #3A9EC8
square
#AB3AC8 #C8643A #57C83A #3A9EC8
split-complementary
#AB3AC8 #9EC83A #3AC864
monochromatic
#5A1E6A #832B9A #AB3AC8 #BF6AD5 #D49AE3

Accessibility & contrast

On white

5.04
#AB3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AC8#FFFFFF#000000##FFFFFF
##AB3AC81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#AB567D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3ac8;
/* rgb */ color: rgb(171, 58, 200);
/* oklch */ color: oklch(57.0% 0.221 318.6);
Tailwind
colors: {
  custom: {
    50: '#c87ad9',
    500: '#ab3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ac8;
$custom-light: #c87ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ac8",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 287.746,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.22123,
    "h": 318.6
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#AB3AC8
secondary
#9CCE8F
accent
#E04867
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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