#AB3BD9#AB3BD9

#AB3BD9 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.235 H 314.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB3BD9
RGBrgb(171, 59, 217)
HSLhsl(283, 68%, 54%)
HSVhsv(283, 73%, 85%)
CMYKcmyk(21.2%, 72.8%, 0%, 14.9%)
CIE-LABlab(48.00, 67.86, -59.97)
CIE-LCHlch(48.00, 90.56, 318.53°)
OKLaboklab(58.19% 0.1632 -0.1693)
OKLCHoklch(58.19% 0.235 314)
XYZxyz(30.8808, 16.7966, 67.2476)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BD9 #69D93B
analogous
#5C3BD9 #AB3BD9 #D93BB8
triadic
#AB3BD9 #D9AB3B #3BD9AB
tetradic
#AB3BD9 #D95C3B #69D93B #3BB8D9
square
#AB3BD9 #D95C3B #69D93B #3BB8D9
split-complementary
#AB3BD9 #B8D93B #3BD95C
monochromatic
#621981 #8A23B4 #AB3BD9 #C16EE3 #D7A2ED

Accessibility & contrast

On white

4.82
#AB3BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB3BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BD9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BD9#FFFFFF#000000##FFFFFF
##AB3BD91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#A75E87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3bd9;
/* rgb */ color: rgb(171, 59, 217);
/* oklch */ color: oklch(58.2% 0.235 314.0);
Tailwind
colors: {
  custom: {
    50: '#c97be6',
    500: '#ab3bd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bd9;
$custom-light: #c97be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bd9",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 282.532,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.23512,
    "h": 314
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#AB3BD9
secondary
#AADA96
accent
#EA3D70
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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