#AB209F#AB209F

#AB209F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.215 H 332.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB209F
RGBrgb(171, 32, 159)
HSLhsl(305, 68%, 40%)
HSVhsv(305, 81%, 67%)
CMYKcmyk(0%, 81.3%, 7%, 32.9%)
CIE-LABlab(41.53, 66.17, -36.38)
CIE-LCHlch(41.53, 75.51, 331.20°)
OKLaboklab(52.46% 0.1902 -0.1002)
OKLCHoklch(52.46% 0.215 332.2)
XYZxyz(23.5692, 12.1962, 33.9069)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB209F #20AB2C
analogous
#7220AB #AB209F #AB2059
triadic
#AB209F #9FAB20 #209FAB
tetradic
#AB209F #AB7220 #20AB2C #2059AB
square
#AB209F #AB7220 #20AB2C #2059AB
split-complementary
#AB209F #59AB20 #20AB72
monochromatic
#440D3F #77166F #AB209F #D830CA #E263D7

Accessibility & contrast

On white

6.11
#AB209F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB209F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB209F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB209F#FFFFFF#000000##FFFFFF
##AB209F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#51699C
Tritanopia (blue-blind)
#B33360
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab209f;
/* rgb */ color: rgb(171, 32, 159);
/* oklch */ color: oklch(52.5% 0.215 332.2);
Tailwind
colors: {
  custom: {
    50: '#c86ebc',
    500: '#ab209f',
    950: '#000000',
  },
}
SCSS
$custom: #ab209f;
$custom-light: #c86ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab209f",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 305.18,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.21499,
    "h": 332.2
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB209F

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

Preview Lab → · Contrast checker → · Palette generator →

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