#AB3FA5#AB3FA5

#AB3FA5 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.185 H 330.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB3FA5
RGBrgb(171, 63, 165)
HSLhsl(303, 46%, 46%)
HSVhsv(303, 63%, 67%)
CMYKcmyk(0%, 63.2%, 3.5%, 32.9%)
CIE-LABlab(45.54, 56.65, -33.63)
CIE-LCHlch(45.54, 65.88, 329.30°)
OKLaboklab(55.45% 0.1602 -0.0925)
OKLCHoklch(55.45% 0.185 330)
XYZxyz(25.3635, 14.9313, 37.1362)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA5 #3FAB45
analogous
#7B3FAB #AB3FA5 #AB3F6F
triadic
#AB3FA5 #A5AB3F #3FA5AB
tetradic
#AB3FA5 #AB7B3F #3FAB45 #3F6FAB
square
#AB3FA5 #AB7B3F #3FAB45 #3F6FAB
split-complementary
#AB3FA5 #6FAB3F #3FAB7B
monochromatic
#521E4F #7E2F7A #AB3FA5 #C562C0 #D68FD2

Accessibility & contrast

On white

5.27
#AB3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FA5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FA5#FFFFFF#000000##FFFFFF
##AB3FA51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#B14B6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3fa5;
/* rgb */ color: rgb(171, 63, 165);
/* oklch */ color: oklch(55.5% 0.185 330.0);
Tailwind
colors: {
  custom: {
    50: '#c77cc0',
    500: '#ab3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa5;
$custom-light: #c77cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa5",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 303.333,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.185,
    "h": 330
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#AB3FA5
secondary
#85C188
accent
#D65952
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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