#AC34CD#AC34CD

#AC34CD is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.232 H 317.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC34CD
RGBrgb(172, 52, 205)
HSLhsl(287, 60%, 50%)
HSVhsv(287, 75%, 80%)
CMYKcmyk(16.1%, 74.6%, 0%, 19.6%)
CIE-LABlab(46.49, 68.24, -55.51)
CIE-LCHlch(46.49, 87.97, 320.87°)
OKLaboklab(56.9% 0.1722 -0.1561)
OKLCHoklch(56.9% 0.232 317.8)
XYZxyz(29.2591, 15.6357, 59.2226)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34CD #55CD34
analogous
#6034CD #AC34CD #CD34A1
triadic
#AC34CD #CDAC34 #34CDAC
tetradic
#AC34CD #CD6034 #55CD34 #34A1CD
square
#AC34CD #CD6034 #55CD34 #34A1CD
split-complementary
#AC34CD #A1CD34 #34CD60
monochromatic
#5A1B6C #84279D #AC34CD #C065D9 #D496E5

Accessibility & contrast

On white

5.09
#AC34CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AC34CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34CD#FFFFFF#000000##FFFFFF
##AC34CD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#AB547F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac34cd;
/* rgb */ color: rgb(172, 52, 205);
/* oklch */ color: oklch(56.9% 0.232 317.8);
Tailwind
colors: {
  custom: {
    50: '#c978dd',
    500: '#ac34cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac34cd;
$custom-light: #c978dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34cd",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 287.059,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.569,
    "c": 0.23244,
    "h": 317.8
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#AC34CD
secondary
#9BD18C
accent
#E44467
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AC34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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