#AB3CCD#AB3CCD

#AB3CCD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.223 H 317.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB3CCD
RGBrgb(171, 60, 205)
HSLhsl(286, 59%, 52%)
HSVhsv(286, 71%, 80%)
CMYKcmyk(16.6%, 70.7%, 0%, 19.6%)
CIE-LABlab(47.36, 65.14, -54.12)
CIE-LCHlch(47.36, 84.68, 320.28°)
OKLaboklab(57.49% 0.1635 -0.1521)
OKLCHoklch(57.49% 0.223 317.1)
XYZxyz(29.4283, 16.2986, 59.3416)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CCD #5ECD3C
analogous
#633CCD #AB3CCD #CD3CA7
triadic
#AB3CCD #CDAB3C #3CCDAB
tetradic
#AB3CCD #CD633C #5ECD3C #3CA7CD
square
#AB3CCD #CD633C #5ECD3C #3CA7CD
split-complementary
#AB3CCD #A7CD3C #3CCD63
monochromatic
#5E1D71 #862AA2 #AB3CCD #C06DD9 #D59DE6

Accessibility & contrast

On white

4.93
#AB3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CCD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CCD#FFFFFF#000000##FFFFFF
##AB3CCD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#A95981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ccd;
/* rgb */ color: rgb(171, 60, 205);
/* oklch */ color: oklch(57.5% 0.223 317.1);
Tailwind
colors: {
  custom: {
    50: '#c87bdd',
    500: '#ab3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ccd;
$custom-light: #c87bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ccd",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 285.931,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.22332,
    "h": 317.1
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#AB3CCD
secondary
#A2D293
accent
#E2456A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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