#AC52DA#AC52DA

#AC52DA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.208 H 312.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC52DA
RGBrgb(172, 82, 218)
HSLhsl(280, 65%, 59%)
HSVhsv(280, 62%, 85%)
CMYKcmyk(21.1%, 62.4%, 0%, 14.5%)
CIE-LABlab(51.69, 58.54, -54.61)
CIE-LCHlch(51.69, 80.05, 316.99°)
OKLaboklab(60.88% 0.14 -0.1536)
OKLCHoklch(60.88% 0.208 312.3)
XYZxyz(32.6832, 19.8680, 68.4293)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52DA #80DA52
analogous
#6852DA #AC52DA #DA52C4
triadic
#AC52DA #DAAC52 #52DAAC
tetradic
#AC52DA #DA6852 #80DA52 #52C4DA
square
#AC52DA #DA6852 #80DA52 #52C4DA
split-complementary
#AC52DA #C4DA52 #52DA68
monochromatic
#6B1F92 #902AC5 #AC52DA #C484E5 #DCB7F0

Accessibility & contrast

On white

4.22
#AC52DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AC52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52DA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52DA#FFFFFF#000000##000000
##AC52DA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1677DE
Deuteranopia (green-blind)
#487DD7
Tritanopia (blue-blind)
#A76C8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac52da;
/* rgb */ color: rgb(172, 82, 218);
/* oklch */ color: oklch(60.9% 0.208 312.3);
Tailwind
colors: {
  custom: {
    50: '#c888e6',
    500: '#ac52da',
    950: '#000000',
  },
}
SCSS
$custom: #ac52da;
$custom-light: #c888e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52da",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 279.706,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.20787,
    "h": 312.3
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#AC52DA
secondary
#BBDFA9
accent
#E84079
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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