#AB3DC5#AB3DC5

#AB3DC5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.215 H 319.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB3DC5
RGBrgb(171, 61, 197)
HSLhsl(289, 54%, 51%)
HSVhsv(289, 69%, 77%)
CMYKcmyk(13.2%, 69%, 0%, 22.7%)
CIE-LABlab(47.01, 63.22, -50.06)
CIE-LCHlch(47.01, 80.64, 321.62°)
OKLaboklab(57.08% 0.1631 -0.1402)
OKLCHoklch(57.08% 0.215 319.3)
XYZxyz(28.5401, 16.0280, 54.4029)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC5 #57C53D
analogous
#673DC5 #AB3DC5 #C53D9B
triadic
#AB3DC5 #C5AB3D #3DC5AB
tetradic
#AB3DC5 #C5673D #57C53D #3D9BC5
square
#AB3DC5 #C5673D #57C53D #3D9BC5
split-complementary
#AB3DC5 #9BC53D #3DC567
monochromatic
#5A1F68 #832D98 #AB3DC5 #BF6CD3 #D49BE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3DC5#FFFFFF#000000##FFFFFF
##AB3DC51.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)
#0068C9
Deuteranopia (green-blind)
#4773C2
Tritanopia (blue-blind)
#AB567D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3dc5;
/* rgb */ color: rgb(171, 61, 197);
/* oklch */ color: oklch(57.1% 0.215 319.3);
Tailwind
colors: {
  custom: {
    50: '#c87cd7',
    500: '#ab3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc5;
$custom-light: #c87cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc5",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 288.529,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.21506,
    "h": 319.3
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#AB3DC5
secondary
#9CCD91
accent
#DD4A67
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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