#AB46C8#AB46C8

#AB46C8 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.206 H 317.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB46C8
RGBrgb(171, 70, 200)
HSLhsl(287, 54%, 53%)
HSVhsv(287, 65%, 78%)
CMYKcmyk(14.5%, 65%, 0%, 21.6%)
CIE-LABlab(48.52, 60.06, -49.38)
CIE-LCHlch(48.52, 77.76, 320.58°)
OKLaboklab(58.22% 0.1531 -0.1383)
OKLCHoklch(58.22% 0.206 317.9)
XYZxyz(29.4086, 17.2096, 56.4051)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46C8 #63C846
analogous
#6A46C8 #AB46C8 #C846A4
triadic
#AB46C8 #C8AB46 #46C8AB
tetradic
#AB46C8 #C86A46 #63C846 #46A4C8
square
#AB46C8 #C86A46 #63C846 #46A4C8
split-complementary
#AB46C8 #A4C846 #46C86A
monochromatic
#602272 #8830A1 #AB46C8 #C075D6 #D6A4E4

Accessibility & contrast

On white

4.73
#AB46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AB46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46C8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46C8#FFFFFF#000000##FFFFFF
##AB46C81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166DCC
Deuteranopia (green-blind)
#4B76C5
Tritanopia (blue-blind)
#AA5D81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab46c8;
/* rgb */ color: rgb(171, 70, 200);
/* oklch */ color: oklch(58.2% 0.206 317.9);
Tailwind
colors: {
  custom: {
    50: '#c780d9',
    500: '#ab46c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab46c8;
$custom-light: #c780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46c8",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 286.615,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.20633,
    "h": 317.9
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#AB46C8
secondary
#A5D199
accent
#DE4A6B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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