#AB459C#AB459C

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

Color values

HEX#AB459C
RGBrgb(171, 69, 156)
HSLhsl(309, 43%, 47%)
HSVhsv(309, 60%, 67%)
CMYKcmyk(0%, 59.6%, 8.8%, 32.9%)
CIE-LABlab(46.06, 52.51, -27.46)
CIE-LCHlch(46.06, 59.26, 332.40°)
OKLaboklab(55.69% 0.1515 -0.0748)
OKLCHoklch(55.69% 0.169 333.7)
XYZxyz(24.9235, 15.3163, 33.0897)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB459C #45AB54
analogous
#8745AB #AB459C #AB4569
triadic
#AB459C #9CAB45 #459CAB
tetradic
#AB459C #AB8745 #45AB54 #4569AB
square
#AB459C #AB8745 #45AB54 #4569AB
split-complementary
#AB459C #69AB45 #45AB87
monochromatic
#54224C #7F3374 #AB459C #C36AB6 #D596CB

Accessibility & contrast

On white

5.17
#AB459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB459C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB459C#FFFFFF#000000##FFFFFF
##AB459C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43649F
Deuteranopia (green-blind)
#637299
Tritanopia (blue-blind)
#B24C6A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab459c;
/* rgb */ color: rgb(171, 69, 156);
/* oklch */ color: oklch(55.7% 0.169 333.7);
Tailwind
colors: {
  custom: {
    50: '#c77fb9',
    500: '#ab459c',
    950: '#000000',
  },
}
SCSS
$custom: #ab459c;
$custom-light: #c77fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab459c",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 308.824,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.169,
    "h": 333.7
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB459C

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

Preview Lab → · Contrast checker → · Palette generator →

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