#AC52E5#AC52E5

#AC52E5 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.219 H 309.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC52E5
RGBrgb(172, 82, 229)
HSLhsl(277, 74%, 61%)
HSVhsv(277, 64%, 90%)
CMYKcmyk(24.9%, 64.2%, 0%, 10.2%)
CIE-LABlab(52.36, 60.89, -59.76)
CIE-LCHlch(52.36, 85.31, 315.54°)
OKLaboklab(61.58% 0.1395 -0.1687)
OKLCHoklch(61.58% 0.219 309.6)
XYZxyz(34.1706, 20.4630, 76.2632)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52E5 #8BE552
analogous
#6252E5 #AC52E5 #E552D4
triadic
#AC52E5 #E5AC52 #52E5AC
tetradic
#AC52E5 #E56252 #8BE552 #52D4E5
square
#AC52E5 #E56252 #8BE552 #52D4E5
split-complementary
#AC52E5 #D4E552 #52E562
monochromatic
#6E19A4 #9221D9 #AC52E5 #C687ED #DFBCF5

Accessibility & contrast

On white

4.12
#AC52E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AC52E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52E5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52E5#FFFFFF#000000##000000
##AC52E51.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#A47095
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac52e5;
/* rgb */ color: rgb(172, 82, 229);
/* oklch */ color: oklch(61.6% 0.219 309.6);
Tailwind
colors: {
  custom: {
    50: '#c988ee',
    500: '#ac52e5',
    950: '#000000',
  },
}
SCSS
$custom: #ac52e5;
$custom-light: #c988ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52e5",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 276.735,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.21897,
    "h": 309.6
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#AC52E5
secondary
#C3E5AE
accent
#D6105C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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