#AC34DB#AC34DB

#AC34DB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.244 H 314.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AC34DB
RGBrgb(172, 52, 219)
HSLhsl(283, 70%, 53%)
HSVhsv(283, 76%, 86%)
CMYKcmyk(21.5%, 76.3%, 0%, 14.1%)
CIE-LABlab(47.42, 70.90, -62.05)
CIE-LCHlch(47.42, 94.22, 318.81°)
OKLaboklab(57.85% 0.1703 -0.1753)
OKLCHoklch(57.85% 0.244 314.2)
XYZxyz(31.0252, 16.3422, 68.5241)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34DB #63DB34
analogous
#5934DB #AC34DB #DB34B6
triadic
#AC34DB #DBAC34 #34DBAC
tetradic
#AC34DB #DB5934 #63DB34 #34B6DB
square
#AC34DB #DB5934 #63DB34 #34B6DB
split-complementary
#AC34DB #B6DB34 #34DB59
monochromatic
#61167E #8920B2 #AC34DB #C168E4 #D79CED

Accessibility & contrast

On white

4.92
#AC34DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AC34DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34DB#FFFFFF#000000##FFFFFF
##AC34DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#A75B87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac34db;
/* rgb */ color: rgb(172, 52, 219);
/* oklch */ color: oklch(57.9% 0.244 314.2);
Tailwind
colors: {
  custom: {
    50: '#ca78e7',
    500: '#ac34db',
    950: '#000000',
  },
}
SCSS
$custom: #ac34db;
$custom-light: #ca78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34db",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 283.114,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.24435,
    "h": 314.2
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#AC34DB
secondary
#A6D991
accent
#ED3B6D
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC34DB

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

Preview Lab → · Contrast checker → · Palette generator →

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