#AB5CC0#AB5CC0

#AB5CC0 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.6% C 0.166 H 318.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB5CC0
RGBrgb(171, 92, 192)
HSLhsl(287, 44%, 56%)
HSVhsv(287, 52%, 75%)
CMYKcmyk(10.9%, 52.1%, 0%, 24.7%)
CIE-LABlab(51.97, 47.96, -39.29)
CIE-LCHlch(51.97, 62.00, 320.67°)
OKLaboklab(60.6% 0.1249 -0.1091)
OKLCHoklch(60.6% 0.166 318.9)
XYZxyz(30.1349, 20.1191, 52.1550)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CC0 #71C05C
analogous
#795CC0 #AB5CC0 #C05CA3
triadic
#AB5CC0 #C0AB5C #5CC0AB
tetradic
#AB5CC0 #C0795C #71C05C #5CA3C0
square
#AB5CC0 #C0795C #71C05C #5CA3C0
split-complementary
#AB5CC0 #A3C05C #5CC079
monochromatic
#662D75 #8C3EA1 #AB5CC0 #C288D1 #D8B4E2

Accessibility & contrast

On white

4.18
#AB5CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AB5CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CC0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CC0#FFFFFF#000000##000000
##AB5CC01.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C3
Deuteranopia (green-blind)
#627FBD
Tritanopia (blue-blind)
#AB6A85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab5cc0;
/* rgb */ color: rgb(171, 92, 192);
/* oklch */ color: oklch(60.6% 0.166 318.9);
Tailwind
colors: {
  custom: {
    50: '#c68dd3',
    500: '#ab5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cc0;
$custom-light: #c68dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cc0",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 287.4,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.606,
    "c": 0.16583,
    "h": 318.9
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#AB5CC0
secondary
#B0D1A7
accent
#D4546F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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