#AB48CE#AB48CE

#AB48CE is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.209 H 316.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB48CE
RGBrgb(171, 72, 206)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 65%, 81%)
CMYKcmyk(17%, 65%, 0%, 19.2%)
CIE-LABlab(49.19, 60.38, -51.76)
CIE-LCHlch(49.19, 79.53, 319.39°)
OKLaboklab(58.82% 0.1507 -0.1453)
OKLCHoklch(58.82% 0.209 316)
XYZxyz(30.2508, 17.7500, 60.2131)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48CE #6BCE48
analogous
#6848CE #AB48CE #CE48AE
triadic
#AB48CE #CEAB48 #48CEAB
tetradic
#AB48CE #CE6848 #6BCE48 #48AECE
square
#AB48CE #CE6848 #6BCE48 #48AECE
split-complementary
#AB48CE #AECE48 #48CE68
monochromatic
#63217B #8A2EAB #AB48CE #C178DB #D7A9E8

Accessibility & contrast

On white

4.62
#AB48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AB48CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48CE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48CE#FFFFFF#000000##FFFFFF
##AB48CE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6FD2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#A96185
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab48ce;
/* rgb */ color: rgb(171, 72, 206);
/* oklch */ color: oklch(58.8% 0.209 316.0);
Tailwind
colors: {
  custom: {
    50: '#c882de',
    500: '#ab48ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab48ce;
$custom-light: #c882de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48ce",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 284.328,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.20931,
    "h": 316
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#AB48CE
secondary
#ABD59D
accent
#E1476F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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