#AC36DB#AC36DB

#AC36DB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.0% C 0.242 H 314.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC36DB
RGBrgb(172, 54, 219)
HSLhsl(283, 70%, 54%)
HSVhsv(283, 75%, 86%)
CMYKcmyk(21.5%, 75.3%, 0%, 14.1%)
CIE-LABlab(47.66, 70.23, -61.67)
CIE-LCHlch(47.66, 93.46, 318.71°)
OKLaboklab(58.02% 0.1686 -0.1742)
OKLCHoklch(58.02% 0.242 314.1)
XYZxyz(31.1164, 16.5245, 68.5545)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC36DB #65DB36
analogous
#5936DB #AC36DB #DB36B7
triadic
#AC36DB #DBAC36 #36DBAC
tetradic
#AC36DB #DB5936 #65DB36 #36B7DB
square
#AC36DB #DB5936 #65DB36 #36B7DB
split-complementary
#AC36DB #B7DB36 #36DB59
monochromatic
#621780 #8A20B4 #AC36DB #C16AE4 #D79EEE

Accessibility & contrast

On white

4.88
#AC36DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AC36DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC36DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC36DB#FFFFFF#000000##FFFFFF
##AC36DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac36db;
/* rgb */ color: rgb(172, 54, 219);
/* oklch */ color: oklch(58.0% 0.242 314.1);
Tailwind
colors: {
  custom: {
    50: '#ca79e7',
    500: '#ac36db',
    950: '#000000',
  },
}
SCSS
$custom: #ac36db;
$custom-light: #ca79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac36db",
  "rgb": {
    "r": 172,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 282.909,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.24239,
    "h": 314.1
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#AC36DB
secondary
#A7DA93
accent
#EC3B6E
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC36DB

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

Preview Lab → · Contrast checker → · Palette generator →

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