#AB3DCD#AB3DCD

#AB3DCD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.222 H 317.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB3DCD
RGBrgb(171, 61, 205)
HSLhsl(286, 59%, 52%)
HSVhsv(286, 70%, 80%)
CMYKcmyk(16.6%, 70.2%, 0%, 19.6%)
CIE-LABlab(47.50, 64.75, -53.90)
CIE-LCHlch(47.50, 84.25, 320.22°)
OKLaboklab(57.59% 0.1625 -0.1515)
OKLCHoklch(57.59% 0.222 317)
XYZxyz(29.4811, 16.4044, 59.3592)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DCD #5FCD3D
analogous
#633DCD #AB3DCD #CD3DA7
triadic
#AB3DCD #CDAB3D #3DCDAB
tetradic
#AB3DCD #CD633D #5FCD3D #3DA7CD
square
#AB3DCD #CD633D #5FCD3D #3DA7CD
split-complementary
#AB3DCD #A7CD3D #3DCD63
monochromatic
#5E1D72 #862AA3 #AB3DCD #C06EDA #D59EE6

Accessibility & contrast

On white

4.91
#AB3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DCD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DCD#FFFFFF#000000##FFFFFF
##AB3DCD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#A95A81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3dcd;
/* rgb */ color: rgb(171, 61, 205);
/* oklch */ color: oklch(57.6% 0.222 317.0);
Tailwind
colors: {
  custom: {
    50: '#c87cdd',
    500: '#ab3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dcd;
$custom-light: #c87cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dcd",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 285.833,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57587,
    "c": 0.22216,
    "h": 317
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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