#AB459E#AB459E

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

Color values

HEX#AB459E
RGBrgb(171, 69, 158)
HSLhsl(308, 43%, 47%)
HSVhsv(308, 60%, 67%)
CMYKcmyk(0%, 59.6%, 7.6%, 32.9%)
CIE-LABlab(46.16, 52.85, -28.51)
CIE-LCHlch(46.16, 60.04, 331.66°)
OKLaboklab(55.79% 0.1518 -0.0778)
OKLCHoklch(55.79% 0.171 332.9)
XYZxyz(25.0943, 15.3846, 33.9889)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB459E #45AB52
analogous
#8545AB #AB459E #AB456B
triadic
#AB459E #9EAB45 #459EAB
tetradic
#AB459E #AB8545 #45AB52 #456BAB
square
#AB459E #AB8545 #45AB52 #456BAB
split-complementary
#AB459E #6BAB45 #45AB85
monochromatic
#54224D #7F3376 #AB459E #C36AB8 #D596CD

Accessibility & contrast

On white

5.15
#AB459E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB459E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB459E#FFFFFF#000000##FFFFFF
##AB459E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#62739B
Tritanopia (blue-blind)
#B24D6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab459e;
/* rgb */ color: rgb(171, 69, 158);
/* oklch */ color: oklch(55.8% 0.171 332.9);
Tailwind
colors: {
  custom: {
    50: '#c77fbb',
    500: '#ab459e',
    950: '#000000',
  },
}
SCSS
$custom: #ab459e;
$custom-light: #c77fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab459e",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 307.647,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.17061,
    "h": 332.9
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB459E

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

Preview Lab → · Contrast checker → · Palette generator →

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