#AB3BCA#AB3BCA

#AB3BCA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.222 H 318.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB3BCA
RGBrgb(171, 59, 202)
HSLhsl(287, 57%, 51%)
HSVhsv(287, 71%, 79%)
CMYKcmyk(15.3%, 70.8%, 0%, 20.8%)
CIE-LABlab(47.04, 64.94, -52.91)
CIE-LCHlch(47.04, 83.77, 320.83°)
OKLaboklab(57.2% 0.1648 -0.1485)
OKLCHoklch(57.2% 0.222 318)
XYZxyz(29.0177, 16.0514, 57.4354)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BCA #5ACA3B
analogous
#633BCA #AB3BCA #CA3BA1
triadic
#AB3BCA #CAAB3B #3BCAAB
tetradic
#AB3BCA #CA633B #5ACA3B #3BA1CA
square
#AB3BCA #CA633B #5ACA3B #3BA1CA
split-complementary
#AB3BCA #A1CA3B #3BCA63
monochromatic
#5C1E6D #842B9D #AB3BCA #C06BD7 #D49BE4

Accessibility & contrast

On white

4.99
#AB3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BCA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BCA#FFFFFF#000000##FFFFFF
##AB3BCA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#AA577F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3bca;
/* rgb */ color: rgb(171, 59, 202);
/* oklch */ color: oklch(57.2% 0.222 318.0);
Tailwind
colors: {
  custom: {
    50: '#c87bdb',
    500: '#ab3bca',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bca;
$custom-light: #c87bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bca",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 286.993,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.572,
    "c": 0.22183,
    "h": 318
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#AB3BCA
secondary
#9FD091
accent
#E14768
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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