#AC52DB#AC52DB

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

Color values

HEX#AC52DB
RGBrgb(172, 82, 219)
HSLhsl(279, 66%, 59%)
HSVhsv(279, 63%, 86%)
CMYKcmyk(21.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(51.75, 58.75, -55.08)
CIE-LCHlch(51.75, 80.53, 316.84°)
OKLaboklab(60.94% 0.14 -0.155)
OKLCHoklch(60.94% 0.209 312.1)
XYZxyz(32.8144, 19.9205, 69.1205)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52DB #81DB52
analogous
#6852DB #AC52DB #DB52C6
triadic
#AC52DB #DBAC52 #52DBAC
tetradic
#AC52DB #DB6852 #81DB52 #52C6DB
square
#AC52DB #DB6852 #81DB52 #52C6DB
split-complementary
#AC52DB #C6DB52 #52DB68
monochromatic
#6C1F94 #9129C6 #AC52DB #C485E6 #DDB7F0

Accessibility & contrast

On white

4.21
#AC52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AC52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52DB#FFFFFF#000000##000000
##AC52DB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377DF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#A76C8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac52db;
/* rgb */ color: rgb(172, 82, 219);
/* oklch */ color: oklch(60.9% 0.209 312.1);
Tailwind
colors: {
  custom: {
    50: '#c888e7',
    500: '#ac52db',
    950: '#000000',
  },
}
SCSS
$custom: #ac52db;
$custom-light: #c888e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52db",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 279.416,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.20887,
    "h": 312.1
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#AC52DB
secondary
#BCDFAA
accent
#E93F79
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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