#AB46BD#AB46BD

#AB46BD is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.196 H 321.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB46BD
RGBrgb(171, 70, 189)
HSLhsl(291, 47%, 51%)
HSVhsv(291, 63%, 74%)
CMYKcmyk(9.5%, 63%, 0%, 25.9%)
CIE-LABlab(47.90, 57.94, -44.01)
CIE-LCHlch(47.90, 72.76, 322.78°)
OKLaboklab(57.57% 0.1531 -0.1226)
OKLCHoklch(57.57% 0.196 321.3)
XYZxyz(28.1690, 16.7138, 49.8766)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46BD #58BD46
analogous
#6F46BD #AB46BD #BD4693
triadic
#AB46BD #BDAB46 #46BDAB
tetradic
#AB46BD #BD6F46 #58BD46 #4693BD
square
#AB46BD #BD6F46 #58BD46 #4693BD
split-complementary
#AB46BD #93BD46 #46BD6F
monochromatic
#5B2465 #843492 #AB46BD #BF73CD #D4A0DD

Accessibility & contrast

On white

4.84
#AB46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AB46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46BD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46BD#FFFFFF#000000##FFFFFF
##AB46BD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#AD597B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab46bd;
/* rgb */ color: rgb(171, 70, 189);
/* oklch */ color: oklch(57.6% 0.196 321.3);
Tailwind
colors: {
  custom: {
    50: '#c780d1',
    500: '#ab46bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab46bd;
$custom-light: #c780d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46bd",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 290.924,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.19616,
    "h": 321.3
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#AB46BD
secondary
#9DCA95
accent
#D75165
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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