#AC52E6#AC52E6

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

Color values

HEX#AC52E6
RGBrgb(172, 82, 230)
HSLhsl(276, 75%, 61%)
HSVhsv(276, 64%, 90%)
CMYKcmyk(25.2%, 64.3%, 0%, 9.8%)
CIE-LABlab(52.42, 61.10, -60.22)
CIE-LCHlch(52.42, 85.79, 315.42°)
OKLaboklab(61.64% 0.1395 -0.1701)
OKLCHoklch(61.64% 0.22 309.3)
XYZxyz(34.3107, 20.5190, 77.0007)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52E6 #8CE652
analogous
#6252E6 #AC52E6 #E652D6
triadic
#AC52E6 #E6AC52 #52E6AC
tetradic
#AC52E6 #E66252 #8CE652 #52D6E6
square
#AC52E6 #E66252 #8CE652 #52D6E6
split-complementary
#AC52E6 #D6E652 #52E662
monochromatic
#6E18A6 #9220DB #AC52E6 #C687EE #DFBDF5

Accessibility & contrast

On white

4.11
#AC52E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AC52E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52E6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52E6#FFFFFF#000000##000000
##AC52E61.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac52e6;
/* rgb */ color: rgb(172, 82, 230);
/* oklch */ color: oklch(61.6% 0.220 309.3);
Tailwind
colors: {
  custom: {
    50: '#c988ef',
    500: '#ac52e6',
    950: '#000000',
  },
}
SCSS
$custom: #ac52e6;
$custom-light: #c988ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52e6",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 276.486,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.21998,
    "h": 309.3
  },
  "luminance": 0.20518
}

Semantic roles & 50–950 ramp

primary
#AC52E6
secondary
#C4E6AE
accent
#D70F5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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