#AB3DAC#AB3DAC

#AB3DAC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.194 H 327.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB3DAC
RGBrgb(171, 61, 172)
HSLhsl(299, 48%, 46%)
HSVhsv(299, 65%, 67%)
CMYKcmyk(0.6%, 64.5%, 0%, 32.5%)
CIE-LABlab(45.60, 58.68, -37.68)
CIE-LCHlch(45.60, 69.73, 327.29°)
OKLaboklab(55.61% 0.1631 -0.1042)
OKLCHoklch(55.61% 0.194 327.4)
XYZxyz(25.9093, 14.9757, 40.5477)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DAC #3EAC3D
analogous
#733DAC #AB3DAC #AC3D76
triadic
#AB3DAC #ACAB3D #3DACAB
tetradic
#AB3DAC #AC733D #3EAC3D #3D76AC
square
#AB3DAC #AC733D #3EAC3D #3D76AC
split-complementary
#AB3DAC #76AC3D #3DAC73
monochromatic
#511D52 #7E2D7F #AB3DAC #C660C7 #D68DD7

Accessibility & contrast

On white

5.26
#AB3DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB3DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DAC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DAC#FFFFFF#000000##FFFFFF
##AB3DAC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#B04C6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3dac;
/* rgb */ color: rgb(171, 61, 172);
/* oklch */ color: oklch(55.6% 0.194 327.4);
Tailwind
colors: {
  custom: {
    50: '#c77bc5',
    500: '#ab3dac',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dac;
$custom-light: #c77bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dac",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 299.459,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55611,
    "c": 0.19351,
    "h": 327.4
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#AB3DAC
secondary
#84C184
accent
#D75152
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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