#AB3EAA#AB3EAA

#AB3EAA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.191 H 328.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB3EAA
RGBrgb(171, 62, 170)
HSLhsl(301, 47%, 46%)
HSVhsv(301, 64%, 67%)
CMYKcmyk(0%, 63.7%, 0.6%, 32.9%)
CIE-LABlab(45.64, 57.92, -36.43)
CIE-LCHlch(45.64, 68.42, 327.83°)
OKLaboklab(55.61% 0.1618 -0.1006)
OKLCHoklch(55.61% 0.191 328.1)
XYZxyz(25.7726, 15.0072, 39.5616)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EAA #3EAB3F
analogous
#753EAB #AB3EAA #AB3E74
triadic
#AB3EAA #AAAB3E #3EAAAB
tetradic
#AB3EAA #AB753E #3EAB3F #3E74AB
square
#AB3EAA #AB753E #3EAB3F #3E74AB
split-complementary
#AB3EAA #74AB3E #3EAB75
monochromatic
#511D51 #7E2E7D #AB3EAA #C661C5 #D68ED5

Accessibility & contrast

On white

5.25
#AB3EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB3EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EAA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EAA#FFFFFF#000000##FFFFFF
##AB3EAA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#B04C6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3eaa;
/* rgb */ color: rgb(171, 62, 170);
/* oklch */ color: oklch(55.6% 0.191 328.1);
Tailwind
colors: {
  custom: {
    50: '#c77bc4',
    500: '#ab3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eaa;
$custom-light: #c77bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eaa",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 300.55,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.19051,
    "h": 328.1
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#AB3EAA
secondary
#84C185
accent
#D65351
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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