#AB3EAC#AB3EAC

#AB3EAC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.192 H 327.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB3EAC
RGBrgb(171, 62, 172)
HSLhsl(299, 47%, 46%)
HSVhsv(299, 64%, 67%)
CMYKcmyk(0.6%, 64%, 0%, 32.5%)
CIE-LABlab(45.75, 58.27, -37.45)
CIE-LCHlch(45.75, 69.26, 327.27°)
OKLaboklab(55.72% 0.1619 -0.1035)
OKLCHoklch(55.72% 0.192 327.4)
XYZxyz(25.9632, 15.0834, 40.5656)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EAC #3FAC3E
analogous
#743EAC #AB3EAC #AC3E76
triadic
#AB3EAC #ACAB3E #3EACAB
tetradic
#AB3EAC #AC743E #3FAC3E #3E76AC
square
#AB3EAC #AC743E #3FAC3E #3E76AC
split-complementary
#AB3EAC #76AC3E #3EAC74
monochromatic
#521E52 #7E2E7F #AB3EAC #C561C6 #D68ED6

Accessibility & contrast

On white

5.23
#AB3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB3EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EAC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EAC#FFFFFF#000000##FFFFFF
##AB3EAC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#B04D70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3eac;
/* rgb */ color: rgb(171, 62, 172);
/* oklch */ color: oklch(55.7% 0.192 327.4);
Tailwind
colors: {
  custom: {
    50: '#c77bc5',
    500: '#ab3eac',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eac;
$custom-light: #c77bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eac",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 299.455,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.19218,
    "h": 327.4
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#AB3EAC
secondary
#85C185
accent
#D75152
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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