#AB3DC8#AB3DC8

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

Color values

HEX#AB3DC8
RGBrgb(171, 61, 200)
HSLhsl(287, 56%, 51%)
HSVhsv(287, 70%, 78%)
CMYKcmyk(14.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(47.19, 63.79, -51.51)
CIE-LCHlch(47.19, 81.99, 321.08°)
OKLaboklab(57.27% 0.1629 -0.1445)
OKLCHoklch(57.27% 0.218 318.4)
XYZxyz(28.8872, 16.1668, 56.2313)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC8 #5AC83D
analogous
#653DC8 #AB3DC8 #C83D9F
triadic
#AB3DC8 #C8AB3D #3DC8AB
tetradic
#AB3DC8 #C8653D #5AC83D #3D9FC8
square
#AB3DC8 #C8653D #5AC83D #3D9FC8
split-complementary
#AB3DC8 #9FC83D #3DC865
monochromatic
#5C1F6C #842C9C #AB3DC8 #C06DD6 #D49CE3

Accessibility & contrast

On white

4.96
#AB3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AB3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DC8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DC8#FFFFFF#000000##FFFFFF
##AB3DC81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#4473C5
Tritanopia (blue-blind)
#AA587E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dc8;
/* rgb */ color: rgb(171, 61, 200);
/* oklch */ color: oklch(57.3% 0.218 318.4);
Tailwind
colors: {
  custom: {
    50: '#c87cd9',
    500: '#ab3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc8;
$custom-light: #c87cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc8",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 287.482,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.21772,
    "h": 318.4
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#AB3DC8
secondary
#9FCF92
accent
#DF4968
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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