#AB46D2#AB46D2

#AB46D2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.216 H 315.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB46D2
RGBrgb(171, 70, 210)
HSLhsl(283, 61%, 55%)
HSVhsv(283, 67%, 82%)
CMYKcmyk(18.6%, 66.7%, 0%, 17.6%)
CIE-LABlab(49.12, 62.05, -54.17)
CIE-LCHlch(49.12, 82.37, 318.88°)
OKLaboklab(58.85% 0.1527 -0.1523)
OKLCHoklch(58.85% 0.216 315.1)
XYZxyz(30.6157, 17.6925, 62.7625)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB46D2 #6DD246
analogous
#6546D2 #AB46D2 #D246B3
triadic
#AB46D2 #D2AB46 #46D2AB
tetradic
#AB46D2 #D26546 #6DD246 #46B3D2
square
#AB46D2 #D26546 #6DD246 #46B3D2
split-complementary
#AB46D2 #B3D246 #46D265
monochromatic
#641F7F #8B2BB0 #AB46D2 #C177DE #D8A8EA

Accessibility & contrast

On white

4.63
#AB46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB46D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB46D2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB46D2#FFFFFF#000000##FFFFFF
##AB46D21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#A86186
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab46d2;
/* rgb */ color: rgb(171, 70, 210);
/* oklch */ color: oklch(58.8% 0.216 315.1);
Tailwind
colors: {
  custom: {
    50: '#c881e0',
    500: '#ab46d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab46d2;
$custom-light: #c881e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab46d2",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 283.286,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.2157,
    "h": 315.1
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#AB46D2
secondary
#ADD79C
accent
#E44470
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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