#AB3CCB#AB3CCB

#AB3CCB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.222 H 317.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB3CCB
RGBrgb(171, 60, 203)
HSLhsl(287, 58%, 52%)
HSVhsv(287, 70%, 80%)
CMYKcmyk(15.8%, 70.4%, 0%, 20.4%)
CIE-LABlab(47.24, 64.75, -53.17)
CIE-LCHlch(47.24, 83.78, 320.61°)
OKLaboklab(57.36% 0.1637 -0.1493)
OKLCHoklch(57.36% 0.222 317.6)
XYZxyz(29.1884, 16.2027, 58.0783)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CCB #5CCB3C
analogous
#643CCB #AB3CCB #CB3CA4
triadic
#AB3CCB #CBAB3C #3CCBAB
tetradic
#AB3CCB #CB643C #5CCB3C #3CA4CB
square
#AB3CCB #CB643C #5CCB3C #3CA4CB
split-complementary
#AB3CCB #A4CB3C #3CCB64
monochromatic
#5D1E6F #852A9F #AB3CCB #C06CD8 #D59DE5

Accessibility & contrast

On white

4.95
#AB3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CCB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CCB#FFFFFF#000000##FFFFFF
##AB3CCB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#4173C8
Tritanopia (blue-blind)
#AA5880
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ccb;
/* rgb */ color: rgb(171, 60, 203);
/* oklch */ color: oklch(57.4% 0.222 317.6);
Tailwind
colors: {
  custom: {
    50: '#c87bdb',
    500: '#ab3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ccb;
$custom-light: #c87bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ccb",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 286.573,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57361,
    "c": 0.22155,
    "h": 317.6
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#AB3CCB
secondary
#A0D192
accent
#E14769
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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