#AB49A2#AB49A2

#AB49A2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.168 H 331.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB49A2
RGBrgb(171, 73, 162)
HSLhsl(306, 40%, 48%)
HSVhsv(306, 57%, 67%)
CMYKcmyk(0%, 57.3%, 5.3%, 32.9%)
CIE-LABlab(47.02, 51.69, -29.54)
CIE-LCHlch(47.02, 59.53, 330.25°)
OKLaboklab(56.48% 0.1471 -0.0808)
OKLCHoklch(56.48% 0.168 331.2)
XYZxyz(25.6986, 16.0334, 35.9166)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49A2 #49AB52
analogous
#8349AB #AB49A2 #AB4971
triadic
#AB49A2 #A2AB49 #49A2AB
tetradic
#AB49A2 #AB8349 #49AB52 #4971AB
square
#AB49A2 #AB8349 #49AB52 #4971AB
split-complementary
#AB49A2 #71AB49 #49AB83
monochromatic
#552451 #803779 #AB49A2 #C26FBA #D49ACF

Accessibility & contrast

On white

4.99
#AB49A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB49A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49A2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49A2#FFFFFF#000000##FFFFFF
##AB49A21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#B1526F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab49a2;
/* rgb */ color: rgb(171, 73, 162);
/* oklch */ color: oklch(56.5% 0.168 331.2);
Tailwind
colors: {
  custom: {
    50: '#c781be',
    500: '#ab49a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab49a2;
$custom-light: #c781be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49a2",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 305.51,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.16784,
    "h": 331.2
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#AB49A2
secondary
#8FC094
accent
#D06358
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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