#AB189E#AB189E

#AB189E is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.220 H 332.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB189E
RGBrgb(171, 24, 158)
HSLhsl(305, 75%, 38%)
HSVhsv(305, 86%, 67%)
CMYKcmyk(0%, 86%, 7.6%, 32.9%)
CIE-LABlab(40.87, 67.78, -36.82)
CIE-LCHlch(40.87, 77.13, 331.49°)
OKLaboklab(51.97% 0.1953 -0.1014)
OKLCHoklch(51.97% 0.22 332.6)
XYZxyz(23.2929, 11.7819, 33.3885)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB189E #18AB25
analogous
#6E18AB #AB189E #AB1854
triadic
#AB189E #9EAB18 #189EAB
tetradic
#AB189E #AB6E18 #18AB25 #1854AB
square
#AB189E #AB6E18 #18AB25 #1854AB
split-complementary
#AB189E #54AB18 #18AB6E
monochromatic
#40093B #75106C #AB189E #E020CF #E756DA

Accessibility & contrast

On white

6.26
#AB189E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB189E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB189E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB189E#FFFFFF#000000##FFFFFF
##AB189E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A1
Deuteranopia (green-blind)
#50679B
Tritanopia (blue-blind)
#B32E5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab189e;
/* rgb */ color: rgb(171, 24, 158);
/* oklch */ color: oklch(52.0% 0.220 332.6);
Tailwind
colors: {
  custom: {
    50: '#c86cbb',
    500: '#ab189e',
    950: '#000000',
  },
}
SCSS
$custom: #ab189e;
$custom-light: #c86cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab189e",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 305.306,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.2201,
    "h": 332.6
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#AB189E
secondary
#55CA5F
accent
#F24636
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB189E

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

Preview Lab → · Contrast checker → · Palette generator →

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