#AB3DC9#AB3DC9

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

Color values

HEX#AB3DC9
RGBrgb(171, 61, 201)
HSLhsl(287, 56%, 51%)
HSVhsv(287, 70%, 79%)
CMYKcmyk(14.9%, 69.7%, 0%, 21.2%)
CIE-LABlab(47.25, 63.98, -51.99)
CIE-LCHlch(47.25, 82.44, 320.90°)
OKLaboklab(57.33% 0.1628 -0.1459)
OKLCHoklch(57.33% 0.219 318.1)
XYZxyz(29.0045, 16.2137, 56.8488)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC9 #5BC93D
analogous
#653DC9 #AB3DC9 #C93DA1
triadic
#AB3DC9 #C9AB3D #3DC9AB
tetradic
#AB3DC9 #C9653D #5BC93D #3DA1C9
square
#AB3DC9 #C9653D #5BC93D #3DA1C9
split-complementary
#AB3DC9 #A1C93D #3DC965
monochromatic
#5C1E6D #852C9D #AB3DC9 #C06DD6 #D49DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3DC9#FFFFFF#000000##FFFFFF
##AB3DC91.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)
#0069CD
Deuteranopia (green-blind)
#4374C6
Tritanopia (blue-blind)
#AA587F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dc9;
/* rgb */ color: rgb(171, 61, 201);
/* oklch */ color: oklch(57.3% 0.219 318.1);
Tailwind
colors: {
  custom: {
    50: '#c87cda',
    500: '#ab3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc9;
$custom-light: #c87cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc9",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 287.143,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.2186,
    "h": 318.1
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#AB3DC9
secondary
#9FD092
accent
#E04869
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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