#AB3FA1#AB3FA1

#AB3FA1 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.182 H 331.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB3FA1
RGBrgb(171, 63, 161)
HSLhsl(306, 46%, 46%)
HSVhsv(306, 63%, 67%)
CMYKcmyk(0%, 63.2%, 5.8%, 32.9%)
CIE-LABlab(45.34, 55.97, -31.56)
CIE-LCHlch(45.34, 64.26, 330.58°)
OKLaboklab(55.24% 0.1598 -0.0865)
OKLCHoklch(55.24% 0.182 331.6)
XYZxyz(25.0051, 14.7880, 35.2487)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA1 #3FAB49
analogous
#7F3FAB #AB3FA1 #AB3F6B
triadic
#AB3FA1 #A1AB3F #3FA1AB
tetradic
#AB3FA1 #AB7F3F #3FAB49 #3F6BAB
square
#AB3FA1 #AB7F3F #3FAB49 #3F6BAB
split-complementary
#AB3FA1 #6BAB3F #3FAB7F
monochromatic
#521E4D #7E2F77 #AB3FA1 #C562BC #D68FCF

Accessibility & contrast

On white

5.31
#AB3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3FA1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FA1#FFFFFF#000000##FFFFFF
##AB3FA11.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#B2496A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3fa1;
/* rgb */ color: rgb(171, 63, 161);
/* oklch */ color: oklch(55.2% 0.182 331.6);
Tailwind
colors: {
  custom: {
    50: '#c77cbd',
    500: '#ab3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa1;
$custom-light: #c77cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa1",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 305.556,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.18175,
    "h": 331.6
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#AB3FA1
secondary
#85C18B
accent
#D65E52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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