#AB46AF#AB46AF

#AB46AF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.184 H 326.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB46AF
RGBrgb(171, 70, 175)
HSLhsl(298, 43%, 48%)
HSVhsv(298, 60%, 69%)
CMYKcmyk(2.3%, 60%, 0%, 31.4%)
CIE-LABlab(47.15, 55.35, -37.00)
CIE-LCHlch(47.15, 66.58, 326.24°)
OKLaboklab(56.79% 0.1524 -0.1023)
OKLCHoklch(56.79% 0.184 326.1)
XYZxyz(26.7221, 16.1350, 42.2560)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46AF #4AAF46
analogous
#7646AF #AB46AF #AF467E
triadic
#AB46AF #AFAB46 #46AFAB
tetradic
#AB46AF #AF7646 #4AAF46 #467EAF
square
#AB46AF #AF7646 #4AAF46 #467EAF
split-complementary
#AB46AF #7EAF46 #46AF76
monochromatic
#562358 #803583 #AB46AF #C16DC5 #D499D6

Accessibility & contrast

On white

4.97
#AB46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AB46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46AF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46AF#FFFFFF#000000##FFFFFF
##AB46AF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#AF5474
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab46af;
/* rgb */ color: rgb(171, 70, 175);
/* oklch */ color: oklch(56.8% 0.184 326.1);
Tailwind
colors: {
  custom: {
    50: '#c780c7',
    500: '#ab46af',
    950: '#000000',
  },
}
SCSS
$custom: #ab46af;
$custom-light: #c780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46af",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 297.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.18357,
    "h": 326.1
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#AB46AF
secondary
#90C28E
accent
#D3555A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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