#AB3099#AB3099

#AB3099 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 334.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB3099
RGBrgb(171, 48, 153)
HSLhsl(309, 56%, 43%)
HSVhsv(309, 72%, 67%)
CMYKcmyk(0%, 71.9%, 10.5%, 32.9%)
CIE-LABlab(42.87, 60.50, -30.64)
CIE-LCHlch(42.87, 67.82, 333.14°)
OKLaboklab(53.33% 0.176 -0.0838)
OKLCHoklch(53.33% 0.195 334.5)
XYZxyz(23.6015, 13.0738, 31.4113)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3099 #30AB42
analogous
#7F30AB #AB3099 #AB305C
triadic
#AB3099 #99AB30 #3099AB
tetradic
#AB3099 #AB7F30 #30AB42 #305CAB
square
#AB3099 #AB7F30 #30AB42 #305CAB
split-complementary
#AB3099 #5CAB30 #30AB7F
monochromatic
#4B1543 #7B236E #AB3099 #CD4CBA #DA7BCC

Accessibility & contrast

On white

5.81
#AB3099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB3099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3099
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3099#FFFFFF#000000##FFFFFF
##AB30991.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#B33A61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3099;
/* rgb */ color: rgb(171, 48, 153);
/* oklch */ color: oklch(53.3% 0.195 334.5);
Tailwind
colors: {
  custom: {
    50: '#c874b7',
    500: '#ab3099',
    950: '#000000',
  },
}
SCSS
$custom: #ab3099;
$custom-light: #c874b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3099",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 308.78,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.19491,
    "h": 334.5
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#AB3099
secondary
#74C380
accent
#DF5E48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3099

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

Preview Lab → · Contrast checker → · Palette generator →

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