#AB5BBC#AB5BBC

#AB5BBC is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.2% C 0.163 H 320.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB5BBC
RGBrgb(171, 91, 188)
HSLhsl(289, 42%, 55%)
HSVhsv(289, 52%, 74%)
CMYKcmyk(9%, 51.6%, 0%, 26.3%)
CIE-LABlab(51.58, 47.67, -37.60)
CIE-LCHlch(51.58, 60.72, 321.73°)
OKLaboklab(60.25% 0.1258 -0.1042)
OKLCHoklch(60.25% 0.163 320.4)
XYZxyz(29.6117, 19.7721, 49.8238)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BBC #6CBC5B
analogous
#7B5BBC #AB5BBC #BC5B9C
triadic
#AB5BBC #BCAB5B #5BBCAB
tetradic
#AB5BBC #BC7B5B #6CBC5B #5B9CBC
square
#AB5BBC #BC7B5B #6CBC5B #5B9CBC
split-complementary
#AB5BBC #9CBC5B #5BBC7B
monochromatic
#642D6F #8B3F9B #AB5BBC #C186CE #D8B2E0

Accessibility & contrast

On white

4.24
#AB5BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AB5BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BBC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BBC#FFFFFF#000000##000000
##AB5BBC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#AC6883
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5bbc;
/* rgb */ color: rgb(171, 91, 188);
/* oklch */ color: oklch(60.2% 0.163 320.4);
Tailwind
colors: {
  custom: {
    50: '#c68cd0',
    500: '#ab5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bbc;
$custom-light: #c68cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bbc",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 289.485,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.16336,
    "h": 320.4
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#AB5BBC
secondary
#ACCEA5
accent
#D2566C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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