#AB5AA5#AB5AA5

#AB5AA5 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.0% C 0.143 H 330.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB5AA5
RGBrgb(171, 90, 165)
HSLhsl(304, 33%, 51%)
HSVhsv(304, 47%, 67%)
CMYKcmyk(0%, 47.4%, 3.5%, 32.9%)
CIE-LABlab(50.32, 43.80, -26.17)
CIE-LCHlch(50.32, 51.02, 329.14°)
OKLaboklab(58.97% 0.1235 -0.0714)
OKLCHoklch(58.97% 0.143 330)
XYZxyz(27.2420, 18.6884, 37.7623)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AA5 #5AAB60
analogous
#885AAB #AB5AA5 #AB5A7C
triadic
#AB5AA5 #A5AB5A #5AA5AB
tetradic
#AB5AA5 #AB885A #5AAB60 #5A7CAB
square
#AB5AA5 #AB885A #5AAB60 #5A7CAB
split-complementary
#AB5AA5 #7CAB5A #5AAB88
monochromatic
#5C2F59 #844380 #AB5AA5 #C083BB #D4ABD1

Accessibility & contrast

On white

4.43
#AB5AA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB5AA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AA5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AA5#FFFFFF#000000##000000
##AB5AA51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#B06178
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab5aa5;
/* rgb */ color: rgb(171, 90, 165);
/* oklch */ color: oklch(59.0% 0.143 330.0);
Tailwind
colors: {
  custom: {
    50: '#c68bc0',
    500: '#ab5aa5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5aa5;
$custom-light: #c68bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5aa5",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 304.444,
    "s": 32.53,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.14267,
    "h": 330
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#AB5AA5
secondary
#9FC2A1
accent
#C9675F
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AB5AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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