#AB3BD6#AB3BD6

#AB3BD6 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.232 H 314.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB3BD6
RGBrgb(171, 59, 214)
HSLhsl(283, 65%, 54%)
HSVhsv(283, 72%, 84%)
CMYKcmyk(20.1%, 72.4%, 0%, 16.1%)
CIE-LABlab(47.81, 67.27, -58.57)
CIE-LCHlch(47.81, 89.19, 318.95°)
OKLaboklab(57.99% 0.1636 -0.1652)
OKLCHoklch(57.99% 0.232 314.7)
XYZxyz(30.4941, 16.6420, 65.2112)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BD6 #66D63B
analogous
#5D3BD6 #AB3BD6 #D63BB3
triadic
#AB3BD6 #D6AB3B #3BD6AB
tetradic
#AB3BD6 #D65D3B #66D63B #3BB3D6
square
#AB3BD6 #D65D3B #66D63B #3BB3D6
split-complementary
#AB3BD6 #B3D63B #3BD65D
monochromatic
#611A7D #8925AF #AB3BD6 #C16EE1 #D6A0EB

Accessibility & contrast

On white

4.85
#AB3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BD6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BD6#FFFFFF#000000##FFFFFF
##AB3BD61.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#3474D3
Tritanopia (blue-blind)
#A75C86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3bd6;
/* rgb */ color: rgb(171, 59, 214);
/* oklch */ color: oklch(58.0% 0.232 314.7);
Tailwind
colors: {
  custom: {
    50: '#c87be3',
    500: '#ab3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bd6;
$custom-light: #c87be3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bd6",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 283.355,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.23244,
    "h": 314.7
  },
  "luminance": 0.16641
}

Semantic roles & 50–950 ramp

primary
#AB3BD6
secondary
#A8D895
accent
#E83F6E
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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