#AB4BC3#AB4BC3

#AB4BC3 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.195 H 319.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4BC3
RGBrgb(171, 75, 195)
HSLhsl(288, 50%, 53%)
HSVhsv(288, 62%, 76%)
CMYKcmyk(12.3%, 61.5%, 0%, 23.5%)
CIE-LABlab(49.05, 56.85, -45.66)
CIE-LCHlch(49.05, 72.92, 321.23°)
OKLaboklab(58.51% 0.1472 -0.1275)
OKLCHoklch(58.51% 0.195 319.1)
XYZxyz(29.1597, 17.6315, 53.4864)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BC3 #63C34B
analogous
#6F4BC3 #AB4BC3 #C34B9F
triadic
#AB4BC3 #C3AB4B #4BC3AB
tetradic
#AB4BC3 #C36F4B #63C34B #4B9FC3
square
#AB4BC3 #C36F4B #63C34B #4B9FC3
split-complementary
#AB4BC3 #9FC34B #4BC36F
monochromatic
#60256F #88349D #AB4BC3 #C079D2 #D6A7E2

Accessibility & contrast

On white

4.64
#AB4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AB4BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BC3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BC3#FFFFFF#000000##FFFFFF
##AB4BC31.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC7
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#AB5F80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4bc3;
/* rgb */ color: rgb(171, 75, 195);
/* oklch */ color: oklch(58.5% 0.195 319.1);
Tailwind
colors: {
  custom: {
    50: '#c783d6',
    500: '#ab4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bc3;
$custom-light: #c783d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bc3",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 288,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.19474,
    "h": 319.1
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#AB4BC3
secondary
#A5CF9B
accent
#DA4E6A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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