#AC52FF#AC52FF

#AC52FF is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.3% C 0.245 H 304.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC52FF
RGBrgb(172, 82, 255)
HSLhsl(271, 100%, 66%)
HSVhsv(271, 68%, 100%)
CMYKcmyk(32.5%, 67.8%, 0%, 0%)
CIE-LABlab(54.05, 66.63, -71.55)
CIE-LCHlch(54.05, 97.77, 312.96°)
OKLaboklab(63.33% 0.137 -0.2034)
OKLCHoklch(63.33% 0.245 304)
XYZxyz(38.0764, 22.0253, 96.8337)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52FF #A5FF52
analogous
#5552FF #AC52FF #FF52FB
triadic
#AC52FF #FFAC52 #52FFAC
tetradic
#AC52FF #FF5552 #A5FF52 #52FBFF
square
#AC52FF #FF5552 #A5FF52 #52FBFF
split-complementary
#AC52FF #FBFF52 #52FF55
monochromatic
#7000D7 #8F15FF #AC52FF #C98FFF #E7CCFF

Accessibility & contrast

On white

3.89
#AC52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AC52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52FF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52FF#FFFFFF#000000##000000
##AC52FF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#9C7AA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac52ff;
/* rgb */ color: rgb(172, 82, 255);
/* oklch */ color: oklch(63.3% 0.245 304.0);
Tailwind
colors: {
  custom: {
    50: '#ca89ff',
    500: '#ac52ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac52ff;
$custom-light: #ca89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52ff",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 271.214,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.24523,
    "h": 304
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#AC52FF
secondary
#D5F3BA
accent
#E6006E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AC52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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