#AB46D1#AB46D1

#AB46D1 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.215 H 315.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB46D1
RGBrgb(171, 70, 209)
HSLhsl(284, 60%, 55%)
HSVhsv(284, 67%, 82%)
CMYKcmyk(18.2%, 66.5%, 0%, 18%)
CIE-LABlab(49.06, 61.85, -53.69)
CIE-LCHlch(49.06, 81.91, 319.04°)
OKLaboklab(58.78% 0.1528 -0.1509)
OKLCHoklch(58.78% 0.215 315.3)
XYZxyz(30.4915, 17.6428, 62.1085)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D1 #6CD146
analogous
#6646D1 #AB46D1 #D146B2
triadic
#AB46D1 #D1AB46 #46D1AB
tetradic
#AB46D1 #D16646 #6CD146 #46B2D1
square
#AB46D1 #D16646 #6CD146 #46B2D1
split-complementary
#AB46D1 #B2D146 #46D166
monochromatic
#641F7D #8B2BAE #AB46D1 #C177DD #D8A8E9

Accessibility & contrast

On white

4.64
#AB46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AB46D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46D1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D1#FFFFFF#000000##FFFFFF
##AB46D11.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#A86186
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab46d1;
/* rgb */ color: rgb(171, 70, 209);
/* oklch */ color: oklch(58.8% 0.215 315.3);
Tailwind
colors: {
  custom: {
    50: '#c881e0',
    500: '#ab46d1',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d1;
$custom-light: #c881e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d1",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 283.597,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.21476,
    "h": 315.3
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#AB46D1
secondary
#ACD79C
accent
#E34470
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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