#AC52F1#AC52F1

#AC52F1 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.231 H 306.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AC52F1
RGBrgb(172, 82, 241)
HSLhsl(274, 85%, 63%)
HSVhsv(274, 66%, 95%)
CMYKcmyk(28.6%, 66%, 0%, 5.5%)
CIE-LABlab(53.12, 63.51, -65.27)
CIE-LCHlch(53.12, 91.07, 314.22°)
OKLaboklab(62.37% 0.1386 -0.1849)
OKLCHoklch(62.37% 0.231 306.9)
XYZxyz(35.9044, 21.1565, 85.3942)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52F1 #97F152
analogous
#5C52F1 #AC52F1 #F152E7
triadic
#AC52F1 #F1AC52 #52F1AC
tetradic
#AC52F1 #F15C52 #97F152 #52E7F1
square
#AC52F1 #F15C52 #97F152 #52E7F1
split-complementary
#AC52F1 #E7F152 #52F15C
monochromatic
#700FBA #9119EC #AC52F1 #C78BF6 #E2C3FA

Accessibility & contrast

On white

4.01
#AC52F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AC52F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52F1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52F1#FFFFFF#000000##000000
##AC52F11.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#2A7FEE
Tritanopia (blue-blind)
#A1749B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac52f1;
/* rgb */ color: rgb(172, 82, 241);
/* oklch */ color: oklch(62.4% 0.231 306.9);
Tailwind
colors: {
  custom: {
    50: '#c988f6',
    500: '#ac52f1',
    950: '#000000',
  },
}
SCSS
$custom: #ac52f1;
$custom-light: #c988f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52f1",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 273.962,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.2311,
    "h": 306.9
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#AC52F1
secondary
#CCECB3
accent
#E20464
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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