#AB46D8#AB46D8

#AB46D8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.221 H 313.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB46D8
RGBrgb(171, 70, 216)
HSLhsl(282, 65%, 56%)
HSVhsv(282, 68%, 85%)
CMYKcmyk(20.8%, 67.6%, 0%, 15.3%)
CIE-LABlab(49.49, 63.27, -57.00)
CIE-LCHlch(49.49, 85.16, 317.98°)
OKLaboklab(59.23% 0.1523 -0.1606)
OKLCHoklch(59.23% 0.221 313.5)
XYZxyz(31.3773, 17.9971, 66.7733)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D8 #73D846
analogous
#6246D8 #AB46D8 #D846BC
triadic
#AB46D8 #D8AB46 #46D8AB
tetradic
#AB46D8 #D86246 #73D846 #46BCD8
square
#AB46D8 #D86246 #73D846 #46BCD8
split-complementary
#AB46D8 #BCD846 #46D862
monochromatic
#661C87 #8C27BA #AB46D8 #C279E3 #D9ABED

Accessibility & contrast

On white

4.57
#AB46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB46D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46D8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D8#FFFFFF#000000##000000
##AB46D81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#A6648A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab46d8;
/* rgb */ color: rgb(171, 70, 216);
/* oklch */ color: oklch(59.2% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#c881e5',
    500: '#ab46d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d8;
$custom-light: #c881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d8",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 281.507,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.22136,
    "h": 313.5
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#AB46D8
secondary
#B1DB9F
accent
#E84074
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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