#AB5CC8#AB5CC8

#AB5CC8 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.0% C 0.174 H 316.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB5CC8
RGBrgb(171, 92, 200)
HSLhsl(284, 50%, 57%)
HSVhsv(284, 54%, 78%)
CMYKcmyk(14.5%, 54%, 0%, 21.6%)
CIE-LABlab(52.38, 49.60, -43.25)
CIE-LCHlch(52.38, 65.81, 318.92°)
OKLaboklab(61.03% 0.1257 -0.1205)
OKLCHoklch(61.03% 0.174 316.2)
XYZxyz(31.0455, 20.4834, 56.9507)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CC8 #79C85C
analogous
#755CC8 #AB5CC8 #C85CAF
triadic
#AB5CC8 #C8AB5C #5CC8AB
tetradic
#AB5CC8 #C8755C #79C85C #5CAFC8
square
#AB5CC8 #C8755C #79C85C #5CAFC8
split-complementary
#AB5CC8 #AFC85C #5CC875
monochromatic
#682B7F #8E3AAD #AB5CC8 #C38AD7 #DAB8E7

Accessibility & contrast

On white

4.12
#AB5CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AB5CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CC8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CC8#FFFFFF#000000##000000
##AB5CC81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#AA6D89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5cc8;
/* rgb */ color: rgb(171, 92, 200);
/* oklch */ color: oklch(61.0% 0.174 316.2);
Tailwind
colors: {
  custom: {
    50: '#c68dd9',
    500: '#ab5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cc8;
$custom-light: #c68dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cc8",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 283.889,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.17415,
    "h": 316.2
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#AB5CC8
secondary
#B6D6AA
accent
#D94F74
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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