#AB3EA3#AB3EA3

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

Color values

HEX#AB3EA3
RGBrgb(171, 62, 163)
HSLhsl(304, 47%, 46%)
HSVhsv(304, 64%, 67%)
CMYKcmyk(0%, 63.7%, 4.7%, 32.9%)
CIE-LABlab(45.29, 56.73, -32.84)
CIE-LCHlch(45.29, 65.55, 329.93°)
OKLaboklab(55.24% 0.1612 -0.0902)
OKLCHoklch(55.24% 0.185 330.8)
XYZxyz(25.1280, 14.7493, 36.1667)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA3 #3EAB46
analogous
#7C3EAB #AB3EA3 #AB3E6C
triadic
#AB3EA3 #A3AB3E #3EA3AB
tetradic
#AB3EA3 #AB7C3E #3EAB46 #3E6CAB
square
#AB3EA3 #AB7C3E #3EAB46 #3E6CAB
split-complementary
#AB3EA3 #6CAB3E #3EAB7C
monochromatic
#511D4D #7E2E78 #AB3EA3 #C661BE #D68ED1

Accessibility & contrast

On white

5.32
#AB3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB3EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EA3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA3#FFFFFF#000000##FFFFFF
##AB3EA31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#5C71A0
Tritanopia (blue-blind)
#B1496B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ea3;
/* rgb */ color: rgb(171, 62, 163);
/* oklch */ color: oklch(55.2% 0.185 330.8);
Tailwind
colors: {
  custom: {
    50: '#c77bbe',
    500: '#ab3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea3;
$custom-light: #c77bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea3",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 304.404,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.18475,
    "h": 330.8
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#AB3EA3
secondary
#84C189
accent
#D65B51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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