#AB48C8#AB48C8

#AB48C8 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.204 H 317.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB48C8
RGBrgb(171, 72, 200)
HSLhsl(286, 54%, 53%)
HSVhsv(286, 64%, 78%)
CMYKcmyk(14.5%, 64%, 0%, 21.6%)
CIE-LABlab(48.84, 59.19, -48.87)
CIE-LCHlch(48.84, 76.76, 320.45°)
OKLaboklab(58.45% 0.1508 -0.1368)
OKLCHoklch(58.45% 0.204 317.8)
XYZxyz(29.5358, 17.4640, 56.4475)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48C8 #65C848
analogous
#6B48C8 #AB48C8 #C848A5
triadic
#AB48C8 #C8AB48 #48C8AB
tetradic
#AB48C8 #C86B48 #65C848 #48A5C8
square
#AB48C8 #C86B48 #65C848 #48A5C8
split-complementary
#AB48C8 #A5C848 #48C86B
monochromatic
#612373 #8831A2 #AB48C8 #C177D6 #D6A6E4

Accessibility & contrast

On white

4.67
#AB48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48C8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48C8#FFFFFF#000000##FFFFFF
##AB48C81.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6ECC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#AA5F82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab48c8;
/* rgb */ color: rgb(171, 72, 200);
/* oklch */ color: oklch(58.5% 0.204 317.8);
Tailwind
colors: {
  custom: {
    50: '#c781d9',
    500: '#ab48c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab48c8;
$custom-light: #c781d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48c8",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 286.406,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.20364,
    "h": 317.8
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#AB48C8
secondary
#A7D19A
accent
#DD4B6C
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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