#AB3AC3#AB3AC3

#AB3AC3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.217 H 320.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB3AC3
RGBrgb(171, 58, 195)
HSLhsl(289, 54%, 50%)
HSVhsv(289, 70%, 76%)
CMYKcmyk(12.3%, 70.3%, 0%, 23.5%)
CIE-LABlab(46.48, 64.00, -49.75)
CIE-LCHlch(46.48, 81.07, 322.14°)
OKLaboklab(56.66% 0.1662 -0.1393)
OKLCHoklch(56.66% 0.217 320)
XYZxyz(28.1568, 15.6256, 53.1521)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AC3 #52C33A
analogous
#673AC3 #AB3AC3 #C33A97
triadic
#AB3AC3 #C3AB3A #3AC3AB
tetradic
#AB3AC3 #C3673A #52C33A #3A97C3
square
#AB3AC3 #C3673A #52C33A #3A97C3
split-complementary
#AB3AC3 #97C33A #3AC367
monochromatic
#581E65 #822C94 #AB3AC3 #C068D2 #D397E0

Accessibility & contrast

On white

5.09
#AB3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AC3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AC3#FFFFFF#000000##FFFFFF
##AB3AC31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#AC547B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3ac3;
/* rgb */ color: rgb(171, 58, 195);
/* oklch */ color: oklch(56.7% 0.217 320.0);
Tailwind
colors: {
  custom: {
    50: '#c87ad6',
    500: '#ab3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ac3;
$custom-light: #c87ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ac3",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 289.489,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.21689,
    "h": 320
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#AB3AC3
secondary
#98CC8D
accent
#DE4A64
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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