#AB5BC8#AB5BC8

#AB5BC8 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.9% C 0.176 H 316.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB5BC8
RGBrgb(171, 91, 200)
HSLhsl(284, 50%, 57%)
HSVhsv(284, 55%, 78%)
CMYKcmyk(14.5%, 54.5%, 0%, 21.6%)
CIE-LABlab(52.19, 50.11, -43.55)
CIE-LCHlch(52.19, 66.39, 319.01°)
OKLaboklab(60.89% 0.127 -0.1214)
OKLCHoklch(60.89% 0.176 316.3)
XYZxyz(30.9594, 20.3113, 56.9220)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BC8 #78C85B
analogous
#755BC8 #AB5BC8 #C85BAE
triadic
#AB5BC8 #C8AB5B #5BC8AB
tetradic
#AB5BC8 #C8755B #78C85B #5BAEC8
square
#AB5BC8 #C8755B #78C85B #5BAEC8
split-complementary
#AB5BC8 #AEC85B #5BC875
monochromatic
#682A7E #8E3AAC #AB5BC8 #C289D7 #DAB7E7

Accessibility & contrast

On white

4.15
#AB5BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AB5BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BC8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BC8#FFFFFF#000000##000000
##AB5BC81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#AA6C89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab5bc8;
/* rgb */ color: rgb(171, 91, 200);
/* oklch */ color: oklch(60.9% 0.176 316.3);
Tailwind
colors: {
  custom: {
    50: '#c68dd9',
    500: '#ab5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bc8;
$custom-light: #c68dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bc8",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 284.037,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.17573,
    "h": 316.3
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#AB5BC8
secondary
#B5D6A9
accent
#D94F73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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