#AB299C#AB299C

#AB299C is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.205 H 333.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB299C
RGBrgb(171, 41, 156)
HSLhsl(307, 61%, 42%)
HSVhsv(307, 76%, 67%)
CMYKcmyk(0%, 76%, 8.8%, 32.9%)
CIE-LABlab(42.23, 63.24, -33.47)
CIE-LCHlch(42.23, 71.55, 332.11°)
OKLaboklab(52.91% 0.1829 -0.0919)
OKLCHoklch(52.91% 0.205 333.3)
XYZxyz(23.5884, 12.6461, 32.6447)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB299C #29AB38
analogous
#7929AB #AB299C #AB295B
triadic
#AB299C #9CAB29 #299CAB
tetradic
#AB299C #AB7929 #29AB38 #295BAB
square
#AB299C #AB7929 #29AB38 #295BAB
split-complementary
#AB299C #5BAB29 #29AB79
monochromatic
#481142 #7A1D6F #AB299C #D140C0 #DD71D1

Accessibility & contrast

On white

5.95
#AB299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB299C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB299C#FFFFFF#000000##FFFFFF
##AB299C1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#B33761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab299c;
/* rgb */ color: rgb(171, 41, 156);
/* oklch */ color: oklch(52.9% 0.205 333.3);
Tailwind
colors: {
  custom: {
    50: '#c871b9',
    500: '#ab299c',
    950: '#000000',
  },
}
SCSS
$custom: #ab299c;
$custom-light: #c871b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab299c",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 306.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.20466,
    "h": 333.3
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#AB299C
secondary
#6CC476
accent
#E45643
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB299C

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

Preview Lab → · Contrast checker → · Palette generator →

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