#AB5CC7#AB5CC7

#AB5CC7 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.0% C 0.173 H 316.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB5CC7
RGBrgb(171, 92, 199)
HSLhsl(284, 49%, 57%)
HSVhsv(284, 54%, 78%)
CMYKcmyk(14.1%, 53.8%, 0%, 22%)
CIE-LABlab(52.33, 49.40, -42.76)
CIE-LCHlch(52.33, 65.33, 319.12°)
OKLaboklab(60.98% 0.1256 -0.1191)
OKLCHoklch(60.98% 0.173 316.5)
XYZxyz(30.9290, 20.4368, 56.3372)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CC7 #78C75C
analogous
#765CC7 #AB5CC7 #C75CAE
triadic
#AB5CC7 #C7AB5C #5CC7AB
tetradic
#AB5CC7 #C7765C #78C75C #5CAEC7
square
#AB5CC7 #C7765C #78C75C #5CAEC7
split-complementary
#AB5CC7 #AEC75C #5CC776
monochromatic
#682B7D #8E3BAB #AB5CC7 #C28AD7 #DAB7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5CC7#FFFFFF#000000##000000
##AB5CC71.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)
#4478CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#AA6D89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5cc7;
/* rgb */ color: rgb(171, 92, 199);
/* oklch */ color: oklch(61.0% 0.173 316.5);
Tailwind
colors: {
  custom: {
    50: '#c68dd8',
    500: '#ab5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cc7;
$custom-light: #c68dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cc7",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 284.299,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.1731,
    "h": 316.5
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#AB5CC7
secondary
#B5D5AA
accent
#D84F73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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