#AB46D5#AB46D5

#AB46D5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.219 H 314.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB46D5
RGBrgb(171, 70, 213)
HSLhsl(282, 63%, 55%)
HSVhsv(282, 67%, 84%)
CMYKcmyk(19.7%, 67.1%, 0%, 16.5%)
CIE-LABlab(49.31, 62.66, -55.59)
CIE-LCHlch(49.31, 83.76, 318.42°)
OKLaboklab(59.04% 0.1525 -0.1565)
OKLCHoklch(59.04% 0.219 314.3)
XYZxyz(30.9930, 17.8434, 64.7494)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D5 #70D546
analogous
#6346D5 #AB46D5 #D546B7
triadic
#AB46D5 #D5AB46 #46D5AB
tetradic
#AB46D5 #D56346 #70D546 #46B7D5
square
#AB46D5 #D56346 #70D546 #46B7D5
split-complementary
#AB46D5 #B7D546 #46D563
monochromatic
#651E83 #8C29B5 #AB46D5 #C278E0 #D8AAEC

Accessibility & contrast

On white

4.60
#AB46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB46D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46D5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D5#FFFFFF#000000##FFFFFF
##AB46D51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#A76288
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab46d5;
/* rgb */ color: rgb(171, 70, 213);
/* oklch */ color: oklch(59.0% 0.219 314.3);
Tailwind
colors: {
  custom: {
    50: '#c881e3',
    500: '#ab46d5',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d5;
$custom-light: #c881e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d5",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 282.378,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.21852,
    "h": 314.3
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#AB46D5
secondary
#AFD99E
accent
#E64272
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AB46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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