#AB5ACE#AB5ACE

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

Color values

HEX#AB5ACE
RGBrgb(171, 90, 206)
HSLhsl(282, 54%, 58%)
HSVhsv(282, 56%, 81%)
CMYKcmyk(17%, 56.3%, 0%, 19.2%)
CIE-LABlab(52.32, 51.87, -46.78)
CIE-LCHlch(52.32, 69.85, 317.96°)
OKLaboklab(61.09% 0.1287 -0.1308)
OKLCHoklch(61.09% 0.184 314.5)
XYZxyz(31.5895, 20.4274, 60.6594)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ACE #7DCE5A
analogous
#715ACE #AB5ACE #CE5AB7
triadic
#AB5ACE #CEAB5A #5ACEAB
tetradic
#AB5ACE #CE715A #7DCE5A #5AB7CE
square
#AB5ACE #CE715A #7DCE5A #5AB7CE
split-complementary
#AB5ACE #B7CE5A #5ACE71
monochromatic
#692886 #8F36B5 #AB5ACE #C389DC #DBB8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5ACE#FFFFFF#000000##000000
##AB5ACE1.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)
#3B78D2
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#A86D8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5ace;
/* rgb */ color: rgb(171, 90, 206);
/* oklch */ color: oklch(61.1% 0.184 314.5);
Tailwind
colors: {
  custom: {
    50: '#c78cdd',
    500: '#ab5ace',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ace;
$custom-light: #c78cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ace",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 281.897,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6109,
    "c": 0.18354,
    "h": 314.5
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#AB5ACE
secondary
#B9D9AB
accent
#DE4A77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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