#AB5BB4#AB5BB4

#AB5BB4 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.8% C 0.155 H 323.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB5BB4
RGBrgb(171, 91, 180)
HSLhsl(294, 37%, 53%)
HSVhsv(294, 49%, 71%)
CMYKcmyk(5%, 49.4%, 0%, 29.4%)
CIE-LABlab(51.19, 46.10, -33.57)
CIE-LCHlch(51.19, 57.03, 323.93°)
OKLaboklab(59.84% 0.1247 -0.0925)
OKLCHoklch(59.84% 0.155 323.4)
XYZxyz(28.7731, 19.4367, 45.4072)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BB4 #64B45B
analogous
#7F5BB4 #AB5BB4 #B45B90
triadic
#AB5BB4 #B4AB5B #5BB4AB
tetradic
#AB5BB4 #B47F5B #64B45B #5B90B4
square
#AB5BB4 #B47F5B #64B45B #5B90B4
split-complementary
#AB5BB4 #90B45B #5BB47F
monochromatic
#602F66 #884290 #AB5BB4 #C185C7 #D6AFDA

Accessibility & contrast

On white

4.30
#AB5BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AB5BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BB4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BB4#FFFFFF#000000##000000
##AB5BB41.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#AE667F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5bb4;
/* rgb */ color: rgb(171, 91, 180);
/* oklch */ color: oklch(59.8% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#c68ccb',
    500: '#ab5bb4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bb4;
$custom-light: #c68ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bb4",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 293.933,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.15532,
    "h": 323.4
  },
  "luminance": 0.19435
}

Semantic roles & 50–950 ramp

primary
#AB5BB4
secondary
#A6C9A2
accent
#CD5B66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB5BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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