#AB3BB5#AB3BB5

#AB3BB5 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.204 H 324.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB3BB5
RGBrgb(171, 59, 181)
HSLhsl(295, 51%, 47%)
HSVhsv(295, 67%, 71%)
CMYKcmyk(5.5%, 67.4%, 0%, 29%)
CIE-LABlab(45.80, 61.06, -42.66)
CIE-LCHlch(45.80, 74.49, 325.06°)
OKLaboklab(55.92% 0.1656 -0.1186)
OKLCHoklch(55.92% 0.204 324.4)
XYZxyz(26.6983, 15.1237, 45.2200)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BB5 #45B53B
analogous
#6E3BB5 #AB3BB5 #B53B82
triadic
#AB3BB5 #B5AB3B #3BB5AB
tetradic
#AB3BB5 #B56E3B #45B53B #3B82B5
square
#AB3BB5 #B56E3B #45B53B #3B82B5
split-complementary
#AB3BB5 #82B53B #3BB56E
monochromatic
#541D59 #7F2C87 #AB3BB5 #C362CC #D590DB

Accessibility & contrast

On white

5.22
#AB3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BB5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BB5#FFFFFF#000000##FFFFFF
##AB3BB51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F64B9
Deuteranopia (green-blind)
#5171B2
Tritanopia (blue-blind)
#AE4E73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3bb5;
/* rgb */ color: rgb(171, 59, 181);
/* oklch */ color: oklch(55.9% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#c77acc',
    500: '#ab3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bb5;
$custom-light: #c77acc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bb5",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 295.082,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.20367,
    "h": 324.4
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#AB3BB5
secondary
#8BC686
accent
#DA4D59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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