#AB5BB5#AB5BB5

#AB5BB5 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.9% C 0.156 H 323.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB5BB5
RGBrgb(171, 91, 181)
HSLhsl(293, 38%, 53%)
HSVhsv(293, 50%, 71%)
CMYKcmyk(5.5%, 49.7%, 0%, 29%)
CIE-LABlab(51.24, 46.29, -34.08)
CIE-LCHlch(51.24, 57.48, 323.64°)
OKLaboklab(59.89% 0.1249 -0.094)
OKLCHoklch(59.89% 0.156 323)
XYZxyz(28.8753, 19.4776, 45.9457)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BB5 #65B55B
analogous
#7E5BB5 #AB5BB5 #B55B92
triadic
#AB5BB5 #B5AB5B #5BB5AB
tetradic
#AB5BB5 #B57E5B #65B55B #5B92B5
square
#AB5BB5 #B57E5B #65B55B #5B92B5
split-complementary
#AB5BB5 #92B55B #5BB57E
monochromatic
#612F67 #884291 #AB5BB5 #C185C8 #D6AFDB

Accessibility & contrast

On white

4.29
#AB5BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AB5BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BB5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BB5#FFFFFF#000000##000000
##AB5BB51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#677DB2
Tritanopia (blue-blind)
#AE6680
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5bb5;
/* rgb */ color: rgb(171, 91, 181);
/* oklch */ color: oklch(59.9% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#c68ccb',
    500: '#ab5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bb5;
$custom-light: #c68ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bb5",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 293.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.15631,
    "h": 323
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#AB5BB5
secondary
#A7C9A3
accent
#CE5A67
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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