#AB4BCA#AB4BCA

#AB4BCA is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 58.9% C 0.201 H 317.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4BCA
RGBrgb(171, 75, 202)
HSLhsl(285, 55%, 54%)
HSVhsv(285, 63%, 79%)
CMYKcmyk(15.3%, 62.9%, 0%, 20.8%)
CIE-LABlab(49.44, 58.24, -49.06)
CIE-LCHlch(49.44, 76.15, 319.89°)
OKLaboklab(58.93% 0.1473 -0.1374)
OKLCHoklch(58.93% 0.201 317)
XYZxyz(29.9698, 17.9555, 57.7527)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BCA #6ACA4B
analogous
#6C4BCA #AB4BCA #CA4BAA
triadic
#AB4BCA #CAAB4B #4BCAAB
tetradic
#AB4BCA #CA6C4B #6ACA4B #4BAACA
square
#AB4BCA #CA6C4B #6ACA4B #4BAACA
split-complementary
#AB4BCA #AACA4B #4BCA6C
monochromatic
#632377 #8A31A7 #AB4BCA #C17AD8 #D7AAE6

Accessibility & contrast

On white

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

On black

4.59
#AB4BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BCA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BCA#FFFFFF#000000##000000
##AB4BCA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2170CE
Deuteranopia (green-blind)
#4E78C7
Tritanopia (blue-blind)
#AA6184
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4bca;
/* rgb */ color: rgb(171, 75, 202);
/* oklch */ color: oklch(58.9% 0.201 317.0);
Tailwind
colors: {
  custom: {
    50: '#c783db',
    500: '#ab4bca',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bca;
$custom-light: #c783db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bca",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 285.354,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.20143,
    "h": 317
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#AB4BCA
secondary
#ABD39D
accent
#DE4A6E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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