#AB459F#AB459F

#AB459F is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 332.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB459F
RGBrgb(171, 69, 159)
HSLhsl(307, 43%, 47%)
HSVhsv(307, 60%, 67%)
CMYKcmyk(0%, 59.6%, 7%, 32.9%)
CIE-LABlab(46.20, 53.01, -29.03)
CIE-LCHlch(46.20, 60.44, 331.30°)
OKLaboklab(55.84% 0.152 -0.0793)
OKLCHoklch(55.84% 0.171 332.4)
XYZxyz(25.1807, 15.4192, 34.4441)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB459F #45AB51
analogous
#8445AB #AB459F #AB456C
triadic
#AB459F #9FAB45 #459FAB
tetradic
#AB459F #AB8445 #45AB51 #456CAB
square
#AB459F #AB8445 #45AB51 #456CAB
split-complementary
#AB459F #6CAB45 #45AB84
monochromatic
#54224E #7F3376 #AB459F #C36AB9 #D596CD

Accessibility & contrast

On white

5.14
#AB459F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB459F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB459F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB459F#FFFFFF#000000##FFFFFF
##AB459F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A2
Deuteranopia (green-blind)
#62739C
Tritanopia (blue-blind)
#B24D6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab459f;
/* rgb */ color: rgb(171, 69, 159);
/* oklch */ color: oklch(55.8% 0.171 332.4);
Tailwind
colors: {
  custom: {
    50: '#c77fbb',
    500: '#ab459f',
    950: '#000000',
  },
}
SCSS
$custom: #ab459f;
$custom-light: #c77fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab459f",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 307.059,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.17143,
    "h": 332.4
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#AB459F
secondary
#8BC092
accent
#D26456
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB459F

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

Preview Lab → · Contrast checker → · Palette generator →

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