#AB5ACF#AB5ACF

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

Color values

HEX#AB5ACF
RGBrgb(171, 90, 207)
HSLhsl(282, 55%, 58%)
HSVhsv(282, 57%, 81%)
CMYKcmyk(17.4%, 56.5%, 0%, 18.8%)
CIE-LABlab(52.37, 52.08, -47.26)
CIE-LCHlch(52.37, 70.33, 317.78°)
OKLaboklab(61.15% 0.1288 -0.1322)
OKLCHoklch(61.15% 0.185 314.2)
XYZxyz(31.7114, 20.4762, 61.3012)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ACF #7ECF5A
analogous
#705ACF #AB5ACF #CF5AB9
triadic
#AB5ACF #CFAB5A #5ACFAB
tetradic
#AB5ACF #CF705A #7ECF5A #5AB9CF
square
#AB5ACF #CF705A #7ECF5A #5AB9CF
split-complementary
#AB5ACF #B9CF5A #5ACF70
monochromatic
#6A2787 #8F35B7 #AB5ACF #C389DD #DBB9EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5ACF#FFFFFF#000000##000000
##AB5ACF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#A86E8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5acf;
/* rgb */ color: rgb(171, 90, 207);
/* oklch */ color: oklch(61.1% 0.185 314.2);
Tailwind
colors: {
  custom: {
    50: '#c78cde',
    500: '#ab5acf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5acf;
$custom-light: #c78cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5acf",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 281.538,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.18458,
    "h": 314.2
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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