#AB459D#AB459D

#AB459D is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.170 H 333.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB459D
RGBrgb(171, 69, 157)
HSLhsl(308, 43%, 47%)
HSVhsv(308, 60%, 67%)
CMYKcmyk(0%, 59.6%, 8.2%, 32.9%)
CIE-LABlab(46.11, 52.68, -27.98)
CIE-LCHlch(46.11, 59.65, 332.02°)
OKLaboklab(55.74% 0.1517 -0.0763)
OKLCHoklch(55.74% 0.17 333.3)
XYZxyz(25.0086, 15.3503, 33.5375)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB459D #45AB53
analogous
#8645AB #AB459D #AB456A
triadic
#AB459D #9DAB45 #459DAB
tetradic
#AB459D #AB8645 #45AB53 #456AAB
square
#AB459D #AB8645 #45AB53 #456AAB
split-complementary
#AB459D #6AAB45 #45AB86
monochromatic
#54224D #7F3375 #AB459D #C36AB7 #D596CC

Accessibility & contrast

On white

5.16
#AB459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB459D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB459D#FFFFFF#000000##FFFFFF
##AB459D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#63739A
Tritanopia (blue-blind)
#B24C6A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab459d;
/* rgb */ color: rgb(171, 69, 157);
/* oklch */ color: oklch(55.7% 0.170 333.3);
Tailwind
colors: {
  custom: {
    50: '#c77fba',
    500: '#ab459d',
    950: '#000000',
  },
}
SCSS
$custom: #ab459d;
$custom-light: #c77fba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab459d",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 308.235,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.1698,
    "h": 333.3
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#AB459D
secondary
#8BC093
accent
#D26756
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB459D

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

Preview Lab → · Contrast checker → · Palette generator →

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