#AC34D7#AC34D7

#AC34D7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.6% C 0.241 H 315.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC34D7
RGBrgb(172, 52, 215)
HSLhsl(284, 67%, 52%)
HSVhsv(284, 76%, 84%)
CMYKcmyk(20%, 75.8%, 0%, 15.7%)
CIE-LABlab(47.15, 70.13, -60.20)
CIE-LCHlch(47.15, 92.43, 319.36°)
OKLaboklab(57.57% 0.1709 -0.1698)
OKLCHoklch(57.57% 0.241 315.2)
XYZxyz(30.5050, 16.1341, 65.7841)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC34D7 #5FD734
analogous
#5B34D7 #AC34D7 #D734B0
triadic
#AC34D7 #D7AC34 #34D7AC
tetradic
#AC34D7 #D75B34 #5FD734 #34B0D7
square
#AC34D7 #D75B34 #5FD734 #34B0D7
split-complementary
#AC34D7 #B0D734 #34D75B
monochromatic
#5F1879 #8822AC #AC34D7 #C167E1 #D69AEB

Accessibility & contrast

On white

4.97
#AC34D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AC34D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC34D7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC34D7#FFFFFF#000000##FFFFFF
##AC34D71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#A85984
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac34d7;
/* rgb */ color: rgb(172, 52, 215);
/* oklch */ color: oklch(57.6% 0.241 315.2);
Tailwind
colors: {
  custom: {
    50: '#c978e4',
    500: '#ac34d7',
    950: '#000000',
  },
}
SCSS
$custom: #ac34d7;
$custom-light: #c978e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac34d7",
  "rgb": {
    "r": 172,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 284.172,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.24094,
    "h": 315.2
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#AC34D7
secondary
#A3D790
accent
#EA3E6B
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AC34D7

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

Preview Lab → · Contrast checker → · Palette generator →

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