#AB3FB7#AB3FB7

#AB3FB7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.200 H 323.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB3FB7
RGBrgb(171, 63, 183)
HSLhsl(294, 49%, 48%)
HSVhsv(294, 66%, 72%)
CMYKcmyk(6.6%, 65.6%, 0%, 28.2%)
CIE-LABlab(46.49, 59.81, -42.74)
CIE-LCHlch(46.49, 73.51, 324.45°)
OKLaboklab(56.45% 0.1611 -0.1189)
OKLCHoklch(56.45% 0.2 323.6)
XYZxyz(27.1186, 15.6334, 46.3797)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB7 #4BB73F
analogous
#6F3FB7 #AB3FB7 #B73F87
triadic
#AB3FB7 #B7AB3F #3FB7AB
tetradic
#AB3FB7 #B76F3F #4BB73F #3F87B7
square
#AB3FB7 #B76F3F #4BB73F #3F87B7
split-complementary
#AB3FB7 #87B73F #3FB76F
monochromatic
#56205C #802F89 #AB3FB7 #C168CB #D496DB

Accessibility & contrast

On white

5.09
#AB3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB3FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB7#FFFFFF#000000##FFFFFF
##AB3FB71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BB
Deuteranopia (green-blind)
#5273B4
Tritanopia (blue-blind)
#AE5276
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3fb7;
/* rgb */ color: rgb(171, 63, 183);
/* oklch */ color: oklch(56.4% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#c77ccd',
    500: '#ab3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb7;
$custom-light: #c77ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb7",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 294,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.20025,
    "h": 323.6
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#AB3FB7
secondary
#91C68B
accent
#D84F5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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