#AC52E3#AC52E3

#AC52E3 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.217 H 310.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AC52E3
RGBrgb(172, 82, 227)
HSLhsl(277, 72%, 61%)
HSVhsv(277, 64%, 89%)
CMYKcmyk(24.2%, 63.9%, 0%, 11%)
CIE-LABlab(52.23, 60.46, -58.83)
CIE-LCHlch(52.23, 84.36, 315.78°)
OKLaboklab(61.45% 0.1397 -0.166)
OKLCHoklch(61.45% 0.217 310.1)
XYZxyz(33.8930, 20.3520, 74.8010)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52E3 #89E352
analogous
#6352E3 #AC52E3 #E352D2
triadic
#AC52E3 #E3AC52 #52E3AC
tetradic
#AC52E3 #E36352 #89E352 #52D2E3
square
#AC52E3 #E36352 #89E352 #52D2E3
split-complementary
#AC52E3 #D2E352 #52E363
monochromatic
#6E1AA1 #9123D5 #AC52E3 #C587EC #DFBBF4

Accessibility & contrast

On white

4.14
#AC52E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AC52E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52E3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52E3#FFFFFF#000000##000000
##AC52E31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#A56F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac52e3;
/* rgb */ color: rgb(172, 82, 227);
/* oklch */ color: oklch(61.4% 0.217 310.1);
Tailwind
colors: {
  custom: {
    50: '#c988ec',
    500: '#ac52e3',
    950: '#000000',
  },
}
SCSS
$custom: #ac52e3;
$custom-light: #c988ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52e3",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 277.241,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.21694,
    "h": 310.1
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#AC52E3
secondary
#C2E4AD
accent
#D4115B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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