#AB309E#AB309E

#AB309E is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.6% C 0.199 H 332.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB309E
RGBrgb(171, 48, 158)
HSLhsl(306, 56%, 43%)
HSVhsv(306, 72%, 67%)
CMYKcmyk(0%, 71.9%, 7.6%, 32.9%)
CIE-LABlab(43.13, 61.28, -33.25)
CIE-LCHlch(43.13, 69.72, 331.51°)
OKLaboklab(53.59% 0.1764 -0.0913)
OKLCHoklch(53.59% 0.199 332.6)
XYZxyz(24.0232, 13.2424, 33.6319)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB309E #30AB3D
analogous
#7A30AB #AB309E #AB3061
triadic
#AB309E #9EAB30 #309EAB
tetradic
#AB309E #AB7A30 #30AB3D #3061AB
square
#AB309E #AB7A30 #30AB3D #3061AB
split-complementary
#AB309E #61AB30 #30AB7A
monochromatic
#4B1546 #7B2372 #AB309E #CD4CBF #DA7BD0

Accessibility & contrast

On white

5.76
#AB309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB309E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB309E#FFFFFF#000000##FFFFFF
##AB309E1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#B23D64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab309e;
/* rgb */ color: rgb(171, 48, 158);
/* oklch */ color: oklch(53.6% 0.199 332.6);
Tailwind
colors: {
  custom: {
    50: '#c874bb',
    500: '#ab309e',
    950: '#000000',
  },
}
SCSS
$custom: #ab309e;
$custom-light: #c874bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab309e",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 306.341,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.19858,
    "h": 332.6
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#AB309E
secondary
#74C37D
accent
#DF5848
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB309E

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

Preview Lab → · Contrast checker → · Palette generator →

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