#AB3FBC#AB3FBC

#AB3FBC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.205 H 322.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB3FBC
RGBrgb(171, 63, 188)
HSLhsl(292, 50%, 49%)
HSVhsv(292, 66%, 74%)
CMYKcmyk(9%, 66.5%, 0%, 26.3%)
CIE-LABlab(46.77, 60.73, -45.22)
CIE-LCHlch(46.77, 75.71, 323.33°)
OKLaboklab(56.74% 0.1612 -0.1261)
OKLCHoklch(56.74% 0.205 322)
XYZxyz(27.6482, 15.8453, 49.1693)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FBC #50BC3F
analogous
#6D3FBC #AB3FBC #BC3F8F
triadic
#AB3FBC #BCAB3F #3FBCAB
tetradic
#AB3FBC #BC6D3F #50BC3F #3F8FBC
square
#AB3FBC #BC6D3F #50BC3F #3F8FBC
split-complementary
#AB3FBC #8FBC3F #3FBC6D
monochromatic
#582060 #81308E #AB3FBC #C06BCD #D399DD

Accessibility & contrast

On white

5.04
#AB3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB3FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FBC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FBC#FFFFFF#000000##FFFFFF
##AB3FBC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#AD5478
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3fbc;
/* rgb */ color: rgb(171, 63, 188);
/* oklch */ color: oklch(56.7% 0.205 322.0);
Tailwind
colors: {
  custom: {
    50: '#c77cd1',
    500: '#ab3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fbc;
$custom-light: #c77cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fbc",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 291.84,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.20462,
    "h": 322
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#AB3FBC
secondary
#96C98E
accent
#D94E61
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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