#AB3EA7#AB3EA7

#AB3EA7 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.188 H 329.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB3EA7
RGBrgb(171, 62, 167)
HSLhsl(302, 47%, 46%)
HSVhsv(302, 64%, 67%)
CMYKcmyk(0%, 63.7%, 2.3%, 32.9%)
CIE-LABlab(45.49, 57.40, -34.90)
CIE-LCHlch(45.49, 67.18, 328.70°)
OKLaboklab(55.45% 0.1616 -0.0961)
OKLCHoklch(55.45% 0.188 329.2)
XYZxyz(25.4920, 14.8950, 38.0841)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EA7 #3EAB42
analogous
#783EAB #AB3EA7 #AB3E70
triadic
#AB3EA7 #A7AB3E #3EA7AB
tetradic
#AB3EA7 #AB783E #3EAB42 #3E70AB
square
#AB3EA7 #AB783E #3EAB42 #3E70AB
split-complementary
#AB3EA7 #70AB3E #3EAB78
monochromatic
#511D4F #7E2E7B #AB3EA7 #C661C2 #D68ED3

Accessibility & contrast

On white

5.28
#AB3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB3EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EA7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EA7#FFFFFF#000000##FFFFFF
##AB3EA71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#B14B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ea7;
/* rgb */ color: rgb(171, 62, 167);
/* oklch */ color: oklch(55.4% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#c77bc1',
    500: '#ab3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ea7;
$custom-light: #c77bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ea7",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 302.202,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.18802,
    "h": 329.2
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#AB3EA7
secondary
#84C186
accent
#D65651
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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