#AB3FA4#AB3FA4

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

Color values

HEX#AB3FA4
RGBrgb(171, 63, 164)
HSLhsl(304, 46%, 46%)
HSVhsv(304, 63%, 67%)
CMYKcmyk(0%, 63.2%, 4.1%, 32.9%)
CIE-LABlab(45.49, 56.48, -33.12)
CIE-LCHlch(45.49, 65.47, 329.61°)
OKLaboklab(55.4% 0.1601 -0.091)
OKLCHoklch(55.4% 0.184 330.4)
XYZxyz(25.2728, 14.8951, 36.6587)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA4 #3FAB46
analogous
#7C3FAB #AB3FA4 #AB3F6E
triadic
#AB3FA4 #A4AB3F #3FA4AB
tetradic
#AB3FA4 #AB7C3F #3FAB46 #3F6EAB
square
#AB3FA4 #AB7C3F #3FAB46 #3F6EAB
split-complementary
#AB3FA4 #6EAB3F #3FAB7C
monochromatic
#521E4E #7E2F79 #AB3FA4 #C562BF #D68FD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3FA4#FFFFFF#000000##FFFFFF
##AB3FA41.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)
#3762A7
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#B14A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3fa4;
/* rgb */ color: rgb(171, 63, 164);
/* oklch */ color: oklch(55.4% 0.184 330.4);
Tailwind
colors: {
  custom: {
    50: '#c77cbf',
    500: '#ab3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa4;
$custom-light: #c77cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa4",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 303.889,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.18418,
    "h": 330.4
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#AB3FA4
secondary
#85C189
accent
#D65B52
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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