#AB2DD3#AB2DD3

#AB2DD3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.244 H 316.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB2DD3
RGBrgb(171, 45, 211)
HSLhsl(286, 65%, 50%)
HSVhsv(286, 79%, 83%)
CMYKcmyk(19%, 78.7%, 0%, 17.3%)
CIE-LABlab(45.96, 71.42, -59.83)
CIE-LCHlch(45.96, 93.17, 320.05°)
OKLaboklab(56.62% 0.1759 -0.1688)
OKLCHoklch(56.62% 0.244 316.2)
XYZxyz(29.4890, 15.2391, 63.0035)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DD3 #55D32D
analogous
#582DD3 #AB2DD3 #D32DA8
triadic
#AB2DD3 #D3AB2D #2DD3AB
tetradic
#AB2DD3 #D3582D #55D32D #2DA8D3
square
#AB2DD3 #D3582D #55D32D #2DA8D3
split-complementary
#AB2DD3 #A8D32D #2DD358
monochromatic
#59176E #8222A1 #AB2DD3 #BF60DE #D392E8

Accessibility & contrast

On white

5.19
#AB2DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB2DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DD3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DD3#FFFFFF#000000##FFFFFF
##AB2DD31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#2B70D0
Tritanopia (blue-blind)
#A85481
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab2dd3;
/* rgb */ color: rgb(171, 45, 211);
/* oklch */ color: oklch(56.6% 0.244 316.2);
Tailwind
colors: {
  custom: {
    50: '#c975e1',
    500: '#ab2dd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2dd3;
$custom-light: #c975e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2dd3",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 285.542,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.24379,
    "h": 316.2
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#AB2DD3
secondary
#9BD389
accent
#E83F68
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AB2DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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