#AB1699#AB1699

#AB1699 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.218 H 334.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB1699
RGBrgb(171, 22, 153)
HSLhsl(307, 77%, 38%)
HSVhsv(307, 87%, 67%)
CMYKcmyk(0%, 87.1%, 10.5%, 32.9%)
CIE-LABlab(40.47, 67.43, -34.44)
CIE-LCHlch(40.47, 75.71, 332.95°)
OKLaboklab(51.6% 0.1964 -0.0945)
OKLCHoklch(51.6% 0.218 334.3)
XYZxyz(22.8316, 11.5338, 31.1546)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1699 #16AB28
analogous
#7216AB #AB1699 #AB164F
triadic
#AB1699 #99AB16 #1699AB
tetradic
#AB1699 #AB7216 #16AB28 #164FAB
square
#AB1699 #AB7216 #16AB28 #164FAB
split-complementary
#AB1699 #4FAB16 #16AB72
monochromatic
#3F0838 #750F68 #AB1699 #E11DCA #E953D7

Accessibility & contrast

On white

6.35
#AB1699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB1699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1699
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1699#FFFFFF#000000##FFFFFF
##AB16991.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#B4295B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab1699;
/* rgb */ color: rgb(171, 22, 153);
/* oklch */ color: oklch(51.6% 0.218 334.3);
Tailwind
colors: {
  custom: {
    50: '#c86bb7',
    500: '#ab1699',
    950: '#000000',
  },
}
SCSS
$custom: #ab1699;
$custom-light: #c86bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1699",
  "rgb": {
    "r": 171,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 307.248,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.21799,
    "h": 334.3
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#AB1699
secondary
#52CB60
accent
#F44B34
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB1699

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

Preview Lab → · Contrast checker → · Palette generator →

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