#AB36DB#AB36DB

#AB36DB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.9% C 0.242 H 313.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB36DB
RGBrgb(171, 54, 219)
HSLhsl(283, 70%, 54%)
HSVhsv(283, 75%, 86%)
CMYKcmyk(21.9%, 75.3%, 0%, 14.1%)
CIE-LABlab(47.51, 70.04, -61.91)
CIE-LCHlch(47.51, 93.48, 318.53°)
OKLaboklab(57.88% 0.1673 -0.1749)
OKLCHoklch(57.88% 0.242 313.7)
XYZxyz(30.8977, 16.4118, 68.5443)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36DB #66DB36
analogous
#5836DB #AB36DB #DB36B9
triadic
#AB36DB #DBAB36 #36DBAB
tetradic
#AB36DB #DB5836 #66DB36 #36B9DB
square
#AB36DB #DB5836 #66DB36 #36B9DB
split-complementary
#AB36DB #B9DB36 #36DB58
monochromatic
#611780 #8920B4 #AB36DB #C16AE4 #D69EEE

Accessibility & contrast

On white

4.90
#AB36DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB36DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36DB#FFFFFF#000000##FFFFFF
##AB36DB1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#2773D7
Tritanopia (blue-blind)
#A65C87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab36db;
/* rgb */ color: rgb(171, 54, 219);
/* oklch */ color: oklch(57.9% 0.242 313.7);
Tailwind
colors: {
  custom: {
    50: '#c979e7',
    500: '#ab36db',
    950: '#000000',
  },
}
SCSS
$custom: #ab36db;
$custom-light: #c979e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36db",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 282.545,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.24207,
    "h": 313.7
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#AB36DB
secondary
#A8DA93
accent
#EC3B6F
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB36DB

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

Preview Lab → · Contrast checker → · Palette generator →

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