#AB209E#AB209E

#AB209E is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.214 H 332.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB209E
RGBrgb(171, 32, 158)
HSLhsl(306, 68%, 40%)
HSVhsv(306, 81%, 67%)
CMYKcmyk(0%, 81.3%, 7.6%, 32.9%)
CIE-LABlab(41.47, 66.02, -35.86)
CIE-LCHlch(41.47, 75.13, 331.49°)
OKLaboklab(52.4% 0.1902 -0.0987)
OKLCHoklch(52.4% 0.214 332.6)
XYZxyz(23.4828, 12.1616, 33.4518)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB209E #20AB2D
analogous
#7320AB #AB209E #AB2058
triadic
#AB209E #9EAB20 #209EAB
tetradic
#AB209E #AB7320 #20AB2D #2058AB
square
#AB209E #AB7320 #20AB2D #2058AB
split-complementary
#AB209E #58AB20 #20AB73
monochromatic
#440D3F #77166E #AB209E #D830C9 #E263D6

Accessibility & contrast

On white

6.12
#AB209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB209E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB209E#FFFFFF#000000##FFFFFF
##AB209E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#52699B
Tritanopia (blue-blind)
#B33260
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab209e;
/* rgb */ color: rgb(171, 32, 158);
/* oklch */ color: oklch(52.4% 0.214 332.6);
Tailwind
colors: {
  custom: {
    50: '#c86ebb',
    500: '#ab209e',
    950: '#000000',
  },
}
SCSS
$custom: #ab209e;
$custom-light: #c86ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab209e",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 305.612,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.21429,
    "h": 332.6
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#AB209E
secondary
#60C769
accent
#EB4D3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB209E

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

Preview Lab → · Contrast checker → · Palette generator →

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