#AB3EA9#AB3EA9

#AB3EA9 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.190 H 328.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA9
RGBrgb(171, 62, 169)
HSLhsl(301, 47%, 46%)
HSVhsv(301, 64%, 67%)
CMYKcmyk(0%, 63.7%, 1.2%, 32.9%)
CIE-LABlab(45.59, 57.75, -35.92)
CIE-LCHlch(45.59, 68.01, 328.12°)
OKLaboklab(55.55% 0.1617 -0.0991)
OKLCHoklch(55.55% 0.19 328.5)
XYZxyz(25.6783, 14.9695, 39.0653)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA9 #3EAB40
analogous
#763EAB #AB3EA9 #AB3E72
triadic
#AB3EA9 #A9AB3E #3EA9AB
tetradic
#AB3EA9 #AB763E #3EAB40 #3E72AB
square
#AB3EA9 #AB763E #3EAB40 #3E72AB
split-complementary
#AB3EA9 #72AB3E #3EAB76
monochromatic
#511D50 #7E2E7D #AB3EA9 #C661C4 #D68ED5

Accessibility & contrast

On white

5.26
#AB3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB3EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EA9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA9#FFFFFF#000000##FFFFFF
##AB3EA91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#B04C6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ea9;
/* rgb */ color: rgb(171, 62, 169);
/* oklch */ color: oklch(55.6% 0.190 328.5);
Tailwind
colors: {
  custom: {
    50: '#c77bc3',
    500: '#ab3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea9;
$custom-light: #c77bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea9",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 301.101,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.18967,
    "h": 328.5
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#AB3EA9
secondary
#84C185
accent
#D65451
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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