#AB48D3#AB48D3

#AB48D3 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.214 H 314.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB48D3
RGBrgb(171, 72, 211)
HSLhsl(283, 61%, 55%)
HSVhsv(283, 66%, 83%)
CMYKcmyk(19%, 65.9%, 0%, 17.3%)
CIE-LABlab(49.49, 61.39, -54.15)
CIE-LCHlch(49.49, 81.86, 318.59°)
OKLaboklab(59.13% 0.1505 -0.1523)
OKLCHoklch(59.13% 0.214 314.7)
XYZxyz(30.8679, 17.9968, 63.4631)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48D3 #70D348
analogous
#6648D3 #AB48D3 #D348B5
triadic
#AB48D3 #D3AB48 #48D3AB
tetradic
#AB48D3 #D36648 #70D348 #48B5D3
square
#AB48D3 #D36648 #70D348 #48B5D3
split-complementary
#AB48D3 #B5D348 #48D366
monochromatic
#651F81 #8C2BB3 #AB48D3 #C279DF #D8ABEB

Accessibility & contrast

On white

4.57
#AB48D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB48D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB48D3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48D3#FFFFFF#000000##000000
##AB48D31.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#A86388
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab48d3;
/* rgb */ color: rgb(171, 72, 211);
/* oklch */ color: oklch(59.1% 0.214 314.7);
Tailwind
colors: {
  custom: {
    50: '#c882e1',
    500: '#ab48d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab48d3;
$custom-light: #c882e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48d3",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 282.734,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.21407,
    "h": 314.7
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#AB48D3
secondary
#AFD89E
accent
#E44372
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB48D3

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

Preview Lab → · Contrast checker → · Palette generator →

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