#AB3EA5#AB3EA5

#AB3EA5 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.186 H 330.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA5
RGBrgb(171, 62, 165)
HSLhsl(303, 47%, 46%)
HSVhsv(303, 64%, 67%)
CMYKcmyk(0%, 63.7%, 3.5%, 32.9%)
CIE-LABlab(45.39, 57.06, -33.87)
CIE-LCHlch(45.39, 66.36, 329.31°)
OKLaboklab(55.34% 0.1614 -0.0932)
OKLCHoklch(55.34% 0.186 330)
XYZxyz(25.3086, 14.8216, 37.1179)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA5 #3EAB44
analogous
#7A3EAB #AB3EA5 #AB3E6E
triadic
#AB3EA5 #A5AB3E #3EA5AB
tetradic
#AB3EA5 #AB7A3E #3EAB44 #3E6EAB
square
#AB3EA5 #AB7A3E #3EAB44 #3E6EAB
split-complementary
#AB3EA5 #6EAB3E #3EAB7A
monochromatic
#511D4E #7E2E7A #AB3EA5 #C661C0 #D68ED2

Accessibility & contrast

On white

5.30
#AB3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB3EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EA5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA5#FFFFFF#000000##FFFFFF
##AB3EA51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#5B71A2
Tritanopia (blue-blind)
#B14A6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ea5;
/* rgb */ color: rgb(171, 62, 165);
/* oklch */ color: oklch(55.3% 0.186 330.0);
Tailwind
colors: {
  custom: {
    50: '#c77bc0',
    500: '#ab3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea5;
$custom-light: #c77bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea5",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 303.303,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.18638,
    "h": 330
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#AB3EA5
secondary
#84C187
accent
#D65951
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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