#AB459B#AB459B

#AB459B is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.6% C 0.168 H 334.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB459B
RGBrgb(171, 69, 155)
HSLhsl(309, 43%, 47%)
HSVhsv(309, 60%, 67%)
CMYKcmyk(0%, 59.6%, 9.4%, 32.9%)
CIE-LABlab(46.02, 52.35, -26.93)
CIE-LCHlch(46.02, 58.87, 332.78°)
OKLaboklab(55.64% 0.1514 -0.0733)
OKLCHoklch(55.64% 0.168 334.1)
XYZxyz(24.8392, 15.2826, 32.6456)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB459B #45AB55
analogous
#8845AB #AB459B #AB4568
triadic
#AB459B #9BAB45 #459BAB
tetradic
#AB459B #AB8845 #45AB55 #4568AB
square
#AB459B #AB8845 #45AB55 #4568AB
split-complementary
#AB459B #68AB45 #45AB88
monochromatic
#54224C #7F3373 #AB459B #C36AB5 #D596CB

Accessibility & contrast

On white

5.18
#AB459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB459B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB459B#FFFFFF#000000##FFFFFF
##AB459B1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639E
Deuteranopia (green-blind)
#637298
Tritanopia (blue-blind)
#B34C69
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab459b;
/* rgb */ color: rgb(171, 69, 155);
/* oklch */ color: oklch(55.6% 0.168 334.1);
Tailwind
colors: {
  custom: {
    50: '#c77fb8',
    500: '#ab459b',
    950: '#000000',
  },
}
SCSS
$custom: #ab459b;
$custom-light: #c77fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab459b",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 309.412,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.1682,
    "h": 334.1
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#AB459B
secondary
#8BC094
accent
#D26956
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB459B

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

Preview Lab → · Contrast checker → · Palette generator →

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