#AB46CD#AB46CD

#AB46CD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.211 H 316.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB46CD
RGBrgb(171, 70, 205)
HSLhsl(285, 57%, 54%)
HSVhsv(285, 66%, 80%)
CMYKcmyk(16.6%, 65.9%, 0%, 19.6%)
CIE-LABlab(48.82, 61.05, -51.79)
CIE-LCHlch(48.82, 80.06, 319.69°)
OKLaboklab(58.53% 0.153 -0.1453)
OKLCHoklch(58.53% 0.211 316.5)
XYZxyz(30.0025, 17.4472, 59.5330)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46CD #68CD46
analogous
#6846CD #AB46CD #CD46AC
triadic
#AB46CD #CDAB46 #46CDAB
tetradic
#AB46CD #CD6846 #68CD46 #46ACCD
square
#AB46CD #CD6846 #68CD46 #46ACCD
split-complementary
#AB46CD #ACCD46 #46CD68
monochromatic
#622078 #892DA8 #AB46CD #C176DA #D7A6E7

Accessibility & contrast

On white

4.68
#AB46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46CD#FFFFFF#000000##FFFFFF
##AB46CD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#A95F84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab46cd;
/* rgb */ color: rgb(171, 70, 205);
/* oklch */ color: oklch(58.5% 0.211 316.5);
Tailwind
colors: {
  custom: {
    50: '#c881dd',
    500: '#ab46cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab46cd;
$custom-light: #c881dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46cd",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 284.889,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58532,
    "c": 0.211,
    "h": 316.5
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#AB46CD
secondary
#A9D49B
accent
#E1476E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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