#AB5BCB#AB5BCB

#AB5BCB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.1% C 0.179 H 315.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB5BCB
RGBrgb(171, 91, 203)
HSLhsl(283, 52%, 58%)
HSVhsv(283, 55%, 80%)
CMYKcmyk(15.8%, 55.2%, 0%, 20.4%)
CIE-LABlab(52.35, 50.74, -45.02)
CIE-LCHlch(52.35, 67.83, 318.42°)
OKLaboklab(61.06% 0.1272 -0.1257)
OKLCHoklch(61.06% 0.179 315.3)
XYZxyz(31.3135, 20.4529, 58.7866)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BCB #7BCB5B
analogous
#735BCB #AB5BCB #CB5BB3
triadic
#AB5BCB #CBAB5B #5BCBAB
tetradic
#AB5BCB #CB735B #7BCB5B #5BB3CB
square
#AB5BCB #CB735B #7BCB5B #5BB3CB
split-complementary
#AB5BCB #B3CB5B #5BCB73
monochromatic
#692982 #8E38B1 #AB5BCB #C389DA #DBB8E8

Accessibility & contrast

On white

4.13
#AB5BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AB5BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BCB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BCB#FFFFFF#000000##000000
##AB5BCB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CF
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#A96D8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5bcb;
/* rgb */ color: rgb(171, 91, 203);
/* oklch */ color: oklch(61.1% 0.179 315.3);
Tailwind
colors: {
  custom: {
    50: '#c68ddb',
    500: '#ab5bcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bcb;
$custom-light: #c68ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bcb",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 282.857,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.17886,
    "h": 315.3
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#AB5BCB
secondary
#B7D7AA
accent
#DB4C75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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