#AC52E7#AC52E7

#AC52E7 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.221 H 309.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AC52E7
RGBrgb(172, 82, 231)
HSLhsl(276, 76%, 61%)
HSVhsv(276, 65%, 91%)
CMYKcmyk(25.5%, 64.5%, 0%, 9.4%)
CIE-LABlab(52.48, 61.32, -60.69)
CIE-LCHlch(52.48, 86.27, 315.30°)
OKLaboklab(61.71% 0.1394 -0.1715)
OKLCHoklch(61.71% 0.221 309.1)
XYZxyz(34.4515, 20.5754, 77.7424)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52E7 #8DE752
analogous
#6252E7 #AC52E7 #E752D7
triadic
#AC52E7 #E7AC52 #52E7AC
tetradic
#AC52E7 #E76252 #8DE752 #52D7E7
square
#AC52E7 #E76252 #8DE752 #52D7E7
split-complementary
#AC52E7 #D7E752 #52E762
monochromatic
#6E17A7 #921FDD #AC52E7 #C688EE #E0BDF6

Accessibility & contrast

On white

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

On black

5.11
#AC52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52E7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52E7#FFFFFF#000000##000000
##AC52E71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#3A7EE4
Tritanopia (blue-blind)
#A37196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac52e7;
/* rgb */ color: rgb(172, 82, 231);
/* oklch */ color: oklch(61.7% 0.221 309.1);
Tailwind
colors: {
  custom: {
    50: '#c988ef',
    500: '#ac52e7',
    950: '#000000',
  },
}
SCSS
$custom: #ac52e7;
$custom-light: #c988ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52e7",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 276.242,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.22098,
    "h": 309.1
  },
  "luminance": 0.20575
}

Semantic roles & 50–950 ramp

primary
#AC52E7
secondary
#C5E6AF
accent
#D80E5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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