#AB48BE#AB48BE

#AB48BE is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.194 H 320.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB48BE
RGBrgb(171, 72, 190)
HSLhsl(290, 48%, 51%)
HSVhsv(290, 62%, 75%)
CMYKcmyk(10%, 62.1%, 0%, 25.5%)
CIE-LABlab(48.27, 57.24, -43.99)
CIE-LCHlch(48.27, 72.19, 322.46°)
OKLaboklab(57.86% 0.1508 -0.1226)
OKLCHoklch(57.86% 0.194 320.9)
XYZxyz(28.4051, 17.0117, 50.4926)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48BE #5BBE48
analogous
#7048BE #AB48BE #BE4896
triadic
#AB48BE #BEAB48 #48BEAB
tetradic
#AB48BE #BE7048 #5BBE48 #4896BE
square
#AB48BE #BE7048 #5BBE48 #4896BE
split-complementary
#AB48BE #96BE48 #48BE70
monochromatic
#5C2567 #853594 #AB48BE #C075CE #D4A2DE

Accessibility & contrast

On white

4.77
#AB48BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB48BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48BE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48BE#FFFFFF#000000##FFFFFF
##AB48BE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#AC5B7C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab48be;
/* rgb */ color: rgb(171, 72, 190);
/* oklch */ color: oklch(57.9% 0.194 320.9);
Tailwind
colors: {
  custom: {
    50: '#c781d2',
    500: '#ab48be',
    950: '#000000',
  },
}
SCSS
$custom: #ab48be;
$custom-light: #c781d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48be",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 290.339,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.19429,
    "h": 320.9
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#AB48BE
secondary
#9FCB97
accent
#D75166
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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