#AB3ACF#AB3ACF

#AB3ACF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.227 H 316.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB3ACF
RGBrgb(171, 58, 207)
HSLhsl(286, 61%, 52%)
HSVhsv(286, 72%, 81%)
CMYKcmyk(17.4%, 72%, 0%, 18.8%)
CIE-LABlab(47.22, 66.28, -55.50)
CIE-LCHlch(47.22, 86.44, 320.06°)
OKLaboklab(57.43% 0.1653 -0.1561)
OKLCHoklch(57.43% 0.227 316.6)
XYZxyz(29.5684, 16.1902, 60.5869)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ACF #5ECF3A
analogous
#613ACF #AB3ACF #CF3AA9
triadic
#AB3ACF #CFAB3A #3ACFAB
tetradic
#AB3ACF #CF613A #5ECF3A #3AA9CF
square
#AB3ACF #CF613A #5ECF3A #3AA9CF
split-complementary
#AB3ACF #A9CF3A #3ACF61
monochromatic
#5E1C73 #8628A4 #AB3ACF #C06BDB #D59CE7

Accessibility & contrast

On white

4.96
#AB3ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB3ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ACF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ACF#FFFFFF#000000##FFFFFF
##AB3ACF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#A95981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3acf;
/* rgb */ color: rgb(171, 58, 207);
/* oklch */ color: oklch(57.4% 0.227 316.6);
Tailwind
colors: {
  custom: {
    50: '#c87bde',
    500: '#ab3acf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3acf;
$custom-light: #c87bde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3acf",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 207
  },
  "hsl": {
    "h": 285.503,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.22736,
    "h": 316.6
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#AB3ACF
secondary
#A2D392
accent
#E4446B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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