#AB45A3#AB45A3

#AB45A3 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.175 H 330.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB45A3
RGBrgb(171, 69, 163)
HSLhsl(305, 43%, 47%)
HSVhsv(305, 60%, 67%)
CMYKcmyk(0%, 59.6%, 4.7%, 32.9%)
CIE-LABlab(46.39, 53.69, -31.11)
CIE-LCHlch(46.39, 62.05, 329.91°)
OKLaboklab(56.04% 0.1525 -0.0853)
OKLCHoklch(56.04% 0.175 330.8)
XYZxyz(25.5334, 15.5603, 36.3018)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45A3 #45AB4D
analogous
#8045AB #AB45A3 #AB4570
triadic
#AB45A3 #A3AB45 #45A3AB
tetradic
#AB45A3 #AB8045 #45AB4D #4570AB
square
#AB45A3 #AB8045 #45AB4D #4570AB
split-complementary
#AB45A3 #70AB45 #45AB80
monochromatic
#542250 #7F3379 #AB45A3 #C36ABC #D596D0

Accessibility & contrast

On white

5.11
#AB45A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AB45A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB45A3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB45A3#FFFFFF#000000##FFFFFF
##AB45A31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#B14F6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab45a3;
/* rgb */ color: rgb(171, 69, 163);
/* oklch */ color: oklch(56.0% 0.175 330.8);
Tailwind
colors: {
  custom: {
    50: '#c77fbe',
    500: '#ab45a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab45a3;
$custom-light: #c77fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45a3",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 304.706,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.17473,
    "h": 330.8
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#AB45A3
secondary
#8BC090
accent
#D25F56
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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