#AB3FA3#AB3FA3

#AB3FA3 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.183 H 330.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB3FA3
RGBrgb(171, 63, 163)
HSLhsl(304, 46%, 46%)
HSVhsv(304, 63%, 67%)
CMYKcmyk(0%, 63.2%, 4.7%, 32.9%)
CIE-LABlab(45.44, 56.31, -32.60)
CIE-LCHlch(45.44, 65.06, 329.93°)
OKLaboklab(55.35% 0.16 -0.0895)
OKLCHoklch(55.35% 0.183 330.8)
XYZxyz(25.1828, 14.8591, 36.1850)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FA3 #3FAB47
analogous
#7D3FAB #AB3FA3 #AB3F6D
triadic
#AB3FA3 #A3AB3F #3FA3AB
tetradic
#AB3FA3 #AB7D3F #3FAB47 #3F6DAB
square
#AB3FA3 #AB7D3F #3FAB47 #3F6DAB
split-complementary
#AB3FA3 #6DAB3F #3FAB7D
monochromatic
#521E4E #7E2F78 #AB3FA3 #C562BE #D68FD0

Accessibility & contrast

On white

5.29
#AB3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB3FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FA3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FA3#FFFFFF#000000##FFFFFF
##AB3FA31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#B14A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3fa3;
/* rgb */ color: rgb(171, 63, 163);
/* oklch */ color: oklch(55.3% 0.183 330.8);
Tailwind
colors: {
  custom: {
    50: '#c77cbe',
    500: '#ab3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fa3;
$custom-light: #c77cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fa3",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 304.444,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.18337,
    "h": 330.8
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#AB3FA3
secondary
#85C18A
accent
#D65C52
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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