#AB3DB2#AB3DB2

#AB3DB2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.199 H 325.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB3DB2
RGBrgb(171, 61, 178)
HSLhsl(296, 49%, 47%)
HSVhsv(296, 66%, 70%)
CMYKcmyk(3.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(45.92, 59.73, -40.71)
CIE-LCHlch(45.92, 72.28, 325.72°)
OKLaboklab(55.95% 0.1633 -0.113)
OKLCHoklch(55.95% 0.199 325.3)
XYZxyz(26.4986, 15.2114, 43.6512)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DB2 #44B23D
analogous
#713DB2 #AB3DB2 #B23D7F
triadic
#AB3DB2 #B2AB3D #3DB2AB
tetradic
#AB3DB2 #B2713D #44B23D #3D7FB2
square
#AB3DB2 #B2713D #44B23D #3D7FB2
split-complementary
#AB3DB2 #7FB23D #3DB271
monochromatic
#531E57 #7F2D84 #AB3DB2 #C363C9 #D590D9

Accessibility & contrast

On white

5.20
#AB3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DB2#FFFFFF#000000##FFFFFF
##AB3DB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#AF4F72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3db2;
/* rgb */ color: rgb(171, 61, 178);
/* oklch */ color: oklch(55.9% 0.199 325.3);
Tailwind
colors: {
  custom: {
    50: '#c77bc9',
    500: '#ab3db2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3db2;
$custom-light: #c77bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3db2",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 296.41,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.19856,
    "h": 325.3
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#AB3DB2
secondary
#8AC487
accent
#D94F58
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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