#AB3FA6#AB3FA6

#AB3FA6 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.186 H 329.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB3FA6
RGBrgb(171, 63, 166)
HSLhsl(303, 46%, 46%)
HSVhsv(303, 63%, 67%)
CMYKcmyk(0%, 63.2%, 2.9%, 32.9%)
CIE-LABlab(45.59, 56.82, -34.15)
CIE-LCHlch(45.59, 66.29, 328.99°)
OKLaboklab(55.5% 0.1603 -0.094)
OKLCHoklch(55.5% 0.186 329.6)
XYZxyz(25.4548, 14.9679, 37.6174)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA6 #3FAB44
analogous
#7A3FAB #AB3FA6 #AB3F70
triadic
#AB3FA6 #A6AB3F #3FA6AB
tetradic
#AB3FA6 #AB7A3F #3FAB44 #3F70AB
square
#AB3FA6 #AB7A3F #3FAB44 #3F70AB
split-complementary
#AB3FA6 #70AB3F #3FAB7A
monochromatic
#521E4F #7E2F7B #AB3FA6 #C562C1 #D68FD2

Accessibility & contrast

On white

5.26
#AB3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3FA6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FA6#FFFFFF#000000##FFFFFF
##AB3FA61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563A9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#B14B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3fa6;
/* rgb */ color: rgb(171, 63, 166);
/* oklch */ color: oklch(55.5% 0.186 329.6);
Tailwind
colors: {
  custom: {
    50: '#c77cc1',
    500: '#ab3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa6;
$custom-light: #c77cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa6",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 302.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.18583,
    "h": 329.6
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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