#AB3BB2#AB3BB2

#AB3BB2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.7% C 0.201 H 325.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB3BB2
RGBrgb(171, 59, 178)
HSLhsl(296, 50%, 46%)
HSVhsv(296, 67%, 70%)
CMYKcmyk(3.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(45.64, 60.53, -41.16)
CIE-LCHlch(45.64, 73.20, 325.78°)
OKLaboklab(55.74% 0.1655 -0.1143)
OKLCHoklch(55.74% 0.201 325.4)
XYZxyz(26.3938, 15.0019, 43.6163)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BB2 #42B23B
analogous
#703BB2 #AB3BB2 #B23B7E
triadic
#AB3BB2 #B2AB3B #3BB2AB
tetradic
#AB3BB2 #B2703B #42B23B #3B7EB2
square
#AB3BB2 #B2703B #42B23B #3B7EB2
split-complementary
#AB3BB2 #7EB23B #3BB270
monochromatic
#531D56 #7F2C84 #AB3BB2 #C460CA #D58EDA

Accessibility & contrast

On white

5.25
#AB3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BB2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BB2#FFFFFF#000000##FFFFFF
##AB3BB21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#AF4D72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3bb2;
/* rgb */ color: rgb(171, 59, 178);
/* oklch */ color: oklch(55.7% 0.201 325.4);
Tailwind
colors: {
  custom: {
    50: '#c77ac9',
    500: '#ab3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bb2;
$custom-light: #c77ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bb2",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 296.471,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.20114,
    "h": 325.4
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#AB3BB2
secondary
#88C485
accent
#DA4E56
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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