#AB3BD2#AB3BD2

#AB3BD2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.229 H 315.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB3BD2
RGBrgb(171, 59, 210)
HSLhsl(285, 63%, 53%)
HSVhsv(285, 72%, 82%)
CMYKcmyk(18.6%, 71.9%, 0%, 17.6%)
CIE-LABlab(47.55, 66.48, -56.70)
CIE-LCHlch(47.55, 87.38, 319.54°)
OKLaboklab(57.72% 0.164 -0.1597)
OKLCHoklch(57.72% 0.229 315.8)
XYZxyz(29.9896, 16.4401, 62.5538)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BD2 #62D23B
analogous
#5F3BD2 #AB3BD2 #D23BAE
triadic
#AB3BD2 #D2AB3B #3BD2AB
tetradic
#AB3BD2 #D25F3B #62D23B #3BAED2
square
#AB3BD2 #D25F3B #62D23B #3BAED2
split-complementary
#AB3BD2 #AED23B #3BD25F
monochromatic
#601B77 #8727A9 #AB3BD2 #C06DDD #D69FE9

Accessibility & contrast

On white

4.90
#AB3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AB3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BD2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BD2#FFFFFF#000000##FFFFFF
##AB3BD21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#A85B83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3bd2;
/* rgb */ color: rgb(171, 59, 210);
/* oklch */ color: oklch(57.7% 0.229 315.8);
Tailwind
colors: {
  custom: {
    50: '#c87be1',
    500: '#ab3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bd2;
$custom-light: #c87be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bd2",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 284.503,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57721,
    "c": 0.22889,
    "h": 315.8
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#AB3BD2
secondary
#A5D594
accent
#E6426C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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