#AB3DCC#AB3DCC

#AB3DCC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.221 H 317.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3DCC
RGBrgb(171, 61, 204)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 70%, 80%)
CMYKcmyk(16.2%, 70.1%, 0%, 20%)
CIE-LABlab(47.44, 64.56, -53.42)
CIE-LCHlch(47.44, 83.79, 320.39°)
OKLaboklab(57.52% 0.1626 -0.1501)
OKLCHoklch(57.52% 0.221 317.3)
XYZxyz(29.3608, 16.3563, 58.7255)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DCC #5ECC3D
analogous
#643DCC #AB3DCC #CC3DA5
triadic
#AB3DCC #CCAB3D #3DCCAB
tetradic
#AB3DCC #CC643D #5ECC3D #3DA5CC
square
#AB3DCC #CC643D #5ECC3D #3DA5CC
split-complementary
#AB3DCC #A5CC3D #3DCC64
monochromatic
#5E1E71 #862AA1 #AB3DCC #C06DD9 #D59EE5

Accessibility & contrast

On white

4.92
#AB3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DCC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DCC#FFFFFF#000000##FFFFFF
##AB3DCC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#AA5981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dcc;
/* rgb */ color: rgb(171, 61, 204);
/* oklch */ color: oklch(57.5% 0.221 317.3);
Tailwind
colors: {
  custom: {
    50: '#c87cdc',
    500: '#ab3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dcc;
$custom-light: #c87cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dcc",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 286.154,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.22127,
    "h": 317.3
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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