#AC52E8#AC52E8

#AC52E8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.222 H 308.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AC52E8
RGBrgb(172, 82, 232)
HSLhsl(276, 77%, 62%)
HSVhsv(276, 65%, 91%)
CMYKcmyk(25.9%, 64.7%, 0%, 9%)
CIE-LABlab(52.54, 61.54, -61.15)
CIE-LCHlch(52.54, 86.75, 315.18°)
OKLaboklab(61.77% 0.1393 -0.1728)
OKLCHoklch(61.77% 0.222 308.9)
XYZxyz(34.5931, 20.6320, 78.4883)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52E8 #8EE852
analogous
#6152E8 #AC52E8 #E852D9
triadic
#AC52E8 #E8AC52 #52E8AC
tetradic
#AC52E8 #E86152 #8EE852 #52D9E8
square
#AC52E8 #E86152 #8EE852 #52D9E8
split-complementary
#AC52E8 #D9E852 #52E861
monochromatic
#6E16A9 #921EDF #AC52E8 #C688EF #E0BEF6

Accessibility & contrast

On white

4.10
#AC52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AC52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52E8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52E8#FFFFFF#000000##000000
##AC52E81.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#A37196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac52e8;
/* rgb */ color: rgb(172, 82, 232);
/* oklch */ color: oklch(61.8% 0.222 308.9);
Tailwind
colors: {
  custom: {
    50: '#c988f0',
    500: '#ac52e8',
    950: '#000000',
  },
}
SCSS
$custom: #ac52e8;
$custom-light: #c988f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52e8",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 276,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.222,
    "h": 308.9
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#AC52E8
secondary
#C5E7AF
accent
#D90D5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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