#AB46D9#AB46D9

#AB46D9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.222 H 313.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB46D9
RGBrgb(171, 70, 217)
HSLhsl(281, 66%, 56%)
HSVhsv(281, 68%, 85%)
CMYKcmyk(21.2%, 67.7%, 0%, 14.9%)
CIE-LABlab(49.56, 63.47, -57.47)
CIE-LCHlch(49.56, 85.63, 317.84°)
OKLaboklab(59.3% 0.1522 -0.162)
OKLCHoklch(59.3% 0.222 313.2)
XYZxyz(31.5069, 18.0489, 67.4563)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D9 #74D946
analogous
#6246D9 #AB46D9 #D946BE
triadic
#AB46D9 #D9AB46 #46D9AB
tetradic
#AB46D9 #D96246 #74D946 #46BED9
square
#AB46D9 #D96246 #74D946 #46BED9
split-complementary
#AB46D9 #BED946 #46D962
monochromatic
#671C89 #8D26BB #AB46D9 #C279E3 #D9ACEE

Accessibility & contrast

On white

4.56
#AB46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB46D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46D9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D9#FFFFFF#000000##000000
##AB46D91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#A6648A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab46d9;
/* rgb */ color: rgb(171, 70, 217);
/* oklch */ color: oklch(59.3% 0.222 313.2);
Tailwind
colors: {
  custom: {
    50: '#c881e5',
    500: '#ab46d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d9;
$custom-light: #c881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d9",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 281.224,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.22231,
    "h": 313.2
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#AB46D9
secondary
#B2DC9F
accent
#E93F74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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