#AB46D7#AB46D7

#AB46D7 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.220 H 313.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB46D7
RGBrgb(171, 70, 215)
HSLhsl(282, 64%, 56%)
HSVhsv(282, 67%, 84%)
CMYKcmyk(20.5%, 67.4%, 0%, 15.7%)
CIE-LABlab(49.43, 63.06, -56.53)
CIE-LCHlch(49.43, 84.69, 318.13°)
OKLaboklab(59.17% 0.1524 -0.1592)
OKLCHoklch(59.17% 0.22 313.7)
XYZxyz(31.2484, 17.9455, 66.0946)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D7 #72D746
analogous
#6246D7 #AB46D7 #D746BA
triadic
#AB46D7 #D7AB46 #46D7AB
tetradic
#AB46D7 #D76246 #72D746 #46BAD7
square
#AB46D7 #D76246 #72D746 #46BAD7
split-complementary
#AB46D7 #BAD746 #46D762
monochromatic
#661D86 #8C28B8 #AB46D7 #C278E2 #D9ABED

Accessibility & contrast

On white

4.58
#AB46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AB46D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB46D7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D7#FFFFFF#000000##000000
##AB46D71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#A76389
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab46d7;
/* rgb */ color: rgb(171, 70, 215);
/* oklch */ color: oklch(59.2% 0.220 313.7);
Tailwind
colors: {
  custom: {
    50: '#c881e4',
    500: '#ab46d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d7;
$custom-light: #c881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d7",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 281.793,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.22041,
    "h": 313.7
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#AB46D7
secondary
#B1DA9E
accent
#E74073
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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