#AB48DA#AB48DA

#AB48DA is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.221 H 312.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB48DA
RGBrgb(171, 72, 218)
HSLhsl(281, 66%, 57%)
HSVhsv(281, 67%, 85%)
CMYKcmyk(21.6%, 67%, 0%, 14.5%)
CIE-LABlab(49.92, 62.82, -57.45)
CIE-LCHlch(49.92, 85.13, 317.56°)
OKLaboklab(59.58% 0.15 -0.1619)
OKLCHoklch(59.58% 0.221 312.8)
XYZxyz(31.7646, 18.3555, 68.1858)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48DA #77DA48
analogous
#6248DA #AB48DA #DA48C0
triadic
#AB48DA #DAAB48 #48DAAB
tetradic
#AB48DA #DA6248 #77DA48 #48C0DA
square
#AB48DA #DA6248 #77DA48 #48C0DA
split-complementary
#AB48DA #C0DA48 #48DA62
monochromatic
#681C8B #8D26BE #AB48DA #C27BE4 #DAAEEF

Accessibility & contrast

On white

4.50
#AB48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AB48DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB48DA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48DA#FFFFFF#000000##000000
##AB48DA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#A6668B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab48da;
/* rgb */ color: rgb(171, 72, 218);
/* oklch */ color: oklch(59.6% 0.221 312.8);
Tailwind
colors: {
  custom: {
    50: '#c882e6',
    500: '#ab48da',
    950: '#000000',
  },
}
SCSS
$custom: #ab48da;
$custom-light: #c882e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48da",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 280.685,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.22076,
    "h": 312.8
  },
  "luminance": 0.18355
}

Semantic roles & 50–950 ramp

primary
#AB48DA
secondary
#B4DDA1
accent
#E93F75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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