#AB309F#AB309F

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

Color values

HEX#AB309F
RGBrgb(171, 48, 159)
HSLhsl(306, 56%, 43%)
HSVhsv(306, 72%, 67%)
CMYKcmyk(0%, 71.9%, 7%, 32.9%)
CIE-LABlab(43.18, 61.43, -33.77)
CIE-LCHlch(43.18, 70.10, 331.20°)
OKLaboklab(53.64% 0.1764 -0.0928)
OKLCHoklch(53.64% 0.199 332.3)
XYZxyz(24.1096, 13.2770, 34.0871)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB309F #30AB3C
analogous
#7A30AB #AB309F #AB3061
triadic
#AB309F #9FAB30 #309FAB
tetradic
#AB309F #AB7A30 #30AB3C #3061AB
square
#AB309F #AB7A30 #30AB3C #3061AB
split-complementary
#AB309F #61AB30 #30AB7A
monochromatic
#4B1546 #7B2373 #AB309F #CD4CC0 #DA7BD1

Accessibility & contrast

On white

5.75
#AB309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AB309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB309F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB309F#FFFFFF#000000##FFFFFF
##AB309F1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B23D64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab309f;
/* rgb */ color: rgb(171, 48, 159);
/* oklch */ color: oklch(53.6% 0.199 332.3);
Tailwind
colors: {
  custom: {
    50: '#c874bc',
    500: '#ab309f',
    950: '#000000',
  },
}
SCSS
$custom: #ab309f;
$custom-light: #c874bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab309f",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 305.854,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.19933,
    "h": 332.3
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#AB309F
secondary
#74C37C
accent
#DF5748
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB309F

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

Preview Lab → · Contrast checker → · Palette generator →

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