#AB46D3#AB46D3

#AB46D3 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.217 H 314.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB46D3
RGBrgb(171, 70, 211)
HSLhsl(283, 62%, 55%)
HSVhsv(283, 67%, 83%)
CMYKcmyk(19%, 66.8%, 0%, 17.3%)
CIE-LABlab(49.18, 62.25, -54.64)
CIE-LCHlch(49.18, 82.83, 318.72°)
OKLaboklab(58.91% 0.1527 -0.1537)
OKLCHoklch(58.91% 0.217 314.8)
XYZxyz(30.7407, 17.7424, 63.4207)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D3 #6ED346
analogous
#6546D3 #AB46D3 #D346B4
triadic
#AB46D3 #D3AB46 #46D3AB
tetradic
#AB46D3 #D36546 #6ED346 #46B4D3
square
#AB46D3 #D36546 #6ED346 #46B4D3
split-complementary
#AB46D3 #B4D346 #46D365
monochromatic
#641E80 #8B2AB2 #AB46D3 #C177DF #D8A9EB

Accessibility & contrast

On white

4.62
#AB46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AB46D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46D3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D3#FFFFFF#000000##FFFFFF
##AB46D31.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#4277D0
Tritanopia (blue-blind)
#A86287
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab46d3;
/* rgb */ color: rgb(171, 70, 211);
/* oklch */ color: oklch(58.9% 0.217 314.8);
Tailwind
colors: {
  custom: {
    50: '#c881e1',
    500: '#ab46d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d3;
$custom-light: #c881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d3",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 282.979,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.21664,
    "h": 314.8
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#AB46D3
secondary
#AED89D
accent
#E54371
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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