#AB4BCB#AB4BCB

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

Color values

HEX#AB4BCB
RGBrgb(171, 75, 203)
HSLhsl(285, 55%, 55%)
HSVhsv(285, 63%, 80%)
CMYKcmyk(15.8%, 63.1%, 0%, 20.4%)
CIE-LABlab(49.50, 58.44, -49.55)
CIE-LCHlch(49.50, 76.62, 319.71°)
OKLaboklab(58.99% 0.1473 -0.1388)
OKLCHoklch(58.99% 0.202 316.7)
XYZxyz(30.0886, 18.0030, 58.3783)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BCB #6BCB4B
analogous
#6B4BCB #AB4BCB #CB4BAB
triadic
#AB4BCB #CBAB4B #4BCBAB
tetradic
#AB4BCB #CB6B4B #6BCB4B #4BABCB
square
#AB4BCB #CB6B4B #6BCB4B #4BABCB
split-complementary
#AB4BCB #ABCB4B #4BCB6B
monochromatic
#632379 #8A31A8 #AB4BCB #C17AD9 #D7AAE6

Accessibility & contrast

On white

4.56
#AB4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4BCB#FFFFFF#000000##000000
##AB4BCB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F70CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#A96284
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4bcb;
/* rgb */ color: rgb(171, 75, 203);
/* oklch */ color: oklch(59.0% 0.202 316.7);
Tailwind
colors: {
  custom: {
    50: '#c783db',
    500: '#ab4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bcb;
$custom-light: #c783db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bcb",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 285,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.20239,
    "h": 316.7
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#AB4BCB
secondary
#ABD49E
accent
#DF496F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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