#AB3BB7#AB3BB7

#AB3BB7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.205 H 323.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB3BB7
RGBrgb(171, 59, 183)
HSLhsl(294, 51%, 47%)
HSVhsv(294, 68%, 72%)
CMYKcmyk(6.6%, 67.8%, 0%, 28.2%)
CIE-LABlab(45.92, 61.42, -43.65)
CIE-LCHlch(45.92, 75.35, 324.60°)
OKLaboklab(56.03% 0.1656 -0.1215)
OKLCHoklch(56.03% 0.205 323.7)
XYZxyz(26.9050, 15.2063, 46.3085)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BB7 #47B73B
analogous
#6D3BB7 #AB3BB7 #B73B85
triadic
#AB3BB7 #B7AB3B #3BB7AB
tetradic
#AB3BB7 #B76D3B #47B73B #3B85B7
square
#AB3BB7 #B76D3B #47B73B #3B85B7
split-complementary
#AB3BB7 #85B73B #3BB76D
monochromatic
#551D5A #802C89 #AB3BB7 #C263CD #D491DC

Accessibility & contrast

On white

5.20
#AB3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BB7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BB7#FFFFFF#000000##FFFFFF
##AB3BB71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BB
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#AE4F74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3bb7;
/* rgb */ color: rgb(171, 59, 183);
/* oklch */ color: oklch(56.0% 0.205 323.7);
Tailwind
colors: {
  custom: {
    50: '#c77acd',
    500: '#ab3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bb7;
$custom-light: #c77acd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bb7",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 294.194,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.20537,
    "h": 323.7
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#AB3BB7
secondary
#8DC687
accent
#DB4D5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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