#AB3EA2#AB3EA2

#AB3EA2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.184 H 331.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA2
RGBrgb(171, 62, 162)
HSLhsl(305, 47%, 46%)
HSVhsv(305, 64%, 67%)
CMYKcmyk(0%, 63.7%, 5.3%, 32.9%)
CIE-LABlab(45.24, 56.56, -32.32)
CIE-LCHlch(45.24, 65.15, 330.25°)
OKLaboklab(55.18% 0.1611 -0.0887)
OKLCHoklch(55.18% 0.184 331.2)
XYZxyz(25.0387, 14.7136, 35.6967)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA2 #3EAB47
analogous
#7D3EAB #AB3EA2 #AB3E6B
triadic
#AB3EA2 #A2AB3E #3EA2AB
tetradic
#AB3EA2 #AB7D3E #3EAB47 #3E6BAB
square
#AB3EA2 #AB7D3E #3EAB47 #3E6BAB
split-complementary
#AB3EA2 #6BAB3E #3EAB7D
monochromatic
#511D4D #7E2E77 #AB3EA2 #C661BD #D68ED0

Accessibility & contrast

On white

5.33
#AB3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EA2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA2#FFFFFF#000000##FFFFFF
##AB3EA21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#B2496A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ea2;
/* rgb */ color: rgb(171, 62, 162);
/* oklch */ color: oklch(55.2% 0.184 331.2);
Tailwind
colors: {
  custom: {
    50: '#c77bbe',
    500: '#ab3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea2;
$custom-light: #c77bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea2",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 304.954,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.18394,
    "h": 331.2
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#AB3EA2
secondary
#84C189
accent
#D65C51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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