#AC52DF#AC52DF

#AC52DF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.213 H 311.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AC52DF
RGBrgb(172, 82, 223)
HSLhsl(278, 69%, 60%)
HSVhsv(278, 63%, 87%)
CMYKcmyk(22.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(51.99, 59.60, -56.96)
CIE-LCHlch(51.99, 82.44, 316.30°)
OKLaboklab(61.19% 0.1398 -0.1605)
OKLCHoklch(61.19% 0.213 311.1)
XYZxyz(33.3473, 20.1337, 71.9272)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52DF #85DF52
analogous
#6652DF #AC52DF #DF52CB
triadic
#AC52DF #DFAC52 #52DFAC
tetradic
#AC52DF #DF6652 #85DF52 #52CBDF
square
#AC52DF #DF6652 #85DF52 #52CBDF
split-complementary
#AC52DF #CBDF52 #52DF66
monochromatic
#6D1D9A #9126CE #AC52DF #C586E9 #DEB9F2

Accessibility & contrast

On white

4.18
#AC52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AC52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52DF#FFFFFF#000000##000000
##AC52DF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0278E3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#A66E91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac52df;
/* rgb */ color: rgb(172, 82, 223);
/* oklch */ color: oklch(61.2% 0.213 311.1);
Tailwind
colors: {
  custom: {
    50: '#c888ea',
    500: '#ac52df',
    950: '#000000',
  },
}
SCSS
$custom: #ac52df;
$custom-light: #c888ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52df",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 278.298,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.2129,
    "h": 311.1
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#AC52DF
secondary
#BFE2AB
accent
#EC3C7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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