#AB46CE#AB46CE

#AB46CE is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.6% C 0.212 H 316.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB46CE
RGBrgb(171, 70, 206)
HSLhsl(285, 58%, 54%)
HSVhsv(285, 66%, 81%)
CMYKcmyk(17%, 66%, 0%, 19.2%)
CIE-LABlab(48.88, 61.25, -52.26)
CIE-LCHlch(48.88, 80.52, 319.53°)
OKLaboklab(58.59% 0.1529 -0.1467)
OKLCHoklch(58.59% 0.212 316.2)
XYZxyz(30.1236, 17.4956, 60.1708)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46CE #69CE46
analogous
#6746CE #AB46CE #CE46AD
triadic
#AB46CE #CEAB46 #46CEAB
tetradic
#AB46CE #CE6746 #69CE46 #46ADCE
square
#AB46CE #CE6746 #69CE46 #46ADCE
split-complementary
#AB46CE #ADCE46 #46CE67
monochromatic
#622079 #8A2DAA #AB46CE #C176DB #D7A7E8

Accessibility & contrast

On white

4.67
#AB46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AB46CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46CE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46CE#FFFFFF#000000##FFFFFF
##AB46CE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#A96084
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab46ce;
/* rgb */ color: rgb(171, 70, 206);
/* oklch */ color: oklch(58.6% 0.212 316.2);
Tailwind
colors: {
  custom: {
    50: '#c881de',
    500: '#ab46ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab46ce;
$custom-light: #c881de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46ce",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 284.559,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.21194,
    "h": 316.2
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#AB46CE
secondary
#AAD59B
accent
#E1466E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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