#AC52E9#AC52E9

#AC52E9 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.223 H 308.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AC52E9
RGBrgb(172, 82, 233)
HSLhsl(276, 77%, 62%)
HSVhsv(276, 65%, 91%)
CMYKcmyk(26.2%, 64.8%, 0%, 8.6%)
CIE-LABlab(52.61, 61.76, -61.61)
CIE-LCHlch(52.61, 87.23, 315.07°)
OKLaboklab(61.84% 0.1393 -0.1742)
OKLCHoklch(61.84% 0.223 308.6)
XYZxyz(34.7356, 20.6890, 79.2385)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52E9 #8FE952
analogous
#6152E9 #AC52E9 #E952DA
triadic
#AC52E9 #E9AC52 #52E9AC
tetradic
#AC52E9 #E96152 #8FE952 #52DAE9
square
#AC52E9 #E96152 #8FE952 #52DAE9
split-complementary
#AC52E9 #DAE952 #52E961
monochromatic
#6F16AB #921DE1 #AC52E9 #C688F0 #E0BFF7

Accessibility & contrast

On white

4.09
#AC52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AC52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52E9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52E9#FFFFFF#000000##000000
##AC52E91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#377FE6
Tritanopia (blue-blind)
#A37197
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac52e9;
/* rgb */ color: rgb(172, 82, 233);
/* oklch */ color: oklch(61.8% 0.223 308.6);
Tailwind
colors: {
  custom: {
    50: '#c988f1',
    500: '#ac52e9',
    950: '#000000',
  },
}
SCSS
$custom: #ac52e9;
$custom-light: #c988f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52e9",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 275.762,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.22301,
    "h": 308.6
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#AC52E9
secondary
#C6E7AF
accent
#DA0C5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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