#AB3699#AB3699

#AB3699 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.188 H 334.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB3699
RGBrgb(171, 54, 153)
HSLhsl(309, 52%, 44%)
HSVhsv(309, 68%, 67%)
CMYKcmyk(0%, 68.4%, 10.5%, 32.9%)
CIE-LABlab(43.65, 58.31, -29.43)
CIE-LCHlch(43.65, 65.32, 333.22°)
OKLaboklab(53.89% 0.1695 -0.0803)
OKLCHoklch(53.89% 0.188 334.6)
XYZxyz(23.8637, 13.5982, 31.4987)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3699 #36AB48
analogous
#8336AB #AB3699 #AB365F
triadic
#AB3699 #99AB36 #3699AB
tetradic
#AB3699 #AB8336 #36AB48 #365FAB
square
#AB3699 #AB8336 #36AB48 #365FAB
split-complementary
#AB3699 #5FAB36 #36AB83
monochromatic
#4E1946 #7C276F #AB3699 #C955B7 #D883CB

Accessibility & contrast

On white

5.65
#AB3699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB3699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3699
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3699#FFFFFF#000000##FFFFFF
##AB36991.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#B33F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3699;
/* rgb */ color: rgb(171, 54, 153);
/* oklch */ color: oklch(53.9% 0.188 334.6);
Tailwind
colors: {
  custom: {
    50: '#c777b7',
    500: '#ab3699',
    950: '#000000',
  },
}
SCSS
$custom: #ab3699;
$custom-light: #c777b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3699",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 309.231,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.1876,
    "h": 334.6
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#AB3699
secondary
#7BC286
accent
#DB624C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3699

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

Preview Lab → · Contrast checker → · Palette generator →

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