#AC52F3#AC52F3

#AC52F3 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.5% C 0.233 H 306.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AC52F3
RGBrgb(172, 82, 243)
HSLhsl(274, 87%, 64%)
HSVhsv(274, 66%, 95%)
CMYKcmyk(29.2%, 66.3%, 0%, 4.7%)
CIE-LABlab(53.25, 63.95, -66.17)
CIE-LCHlch(53.25, 92.03, 314.02°)
OKLaboklab(62.5% 0.1384 -0.1876)
OKLCHoklch(62.5% 0.233 306.4)
XYZxyz(36.2047, 21.2767, 86.9761)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52F3 #99F352
analogous
#5B52F3 #AC52F3 #F352EA
triadic
#AC52F3 #F3AC52 #52F3AC
tetradic
#AC52F3 #F35B52 #99F352 #52EAF3
square
#AC52F3 #F35B52 #99F352 #52EAF3
split-complementary
#AC52F3 #EAF352 #52F35B
monochromatic
#700DBD #9119EF #AC52F3 #C78BF7 #E3C4FB

Accessibility & contrast

On white

4.00
#AC52F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AC52F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52F3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52F3#FFFFFF#000000##000000
##AC52F31.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#2780EF
Tritanopia (blue-blind)
#A0759C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac52f3;
/* rgb */ color: rgb(172, 82, 243);
/* oklch */ color: oklch(62.5% 0.233 306.4);
Tailwind
colors: {
  custom: {
    50: '#ca88f8',
    500: '#ac52f3',
    950: '#000000',
  },
}
SCSS
$custom: #ac52f3;
$custom-light: #ca88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52f3",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 273.54,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.23312,
    "h": 306.4
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#AC52F3
secondary
#CDEDB4
accent
#E40265
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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