#AC52F0#AC52F0

#AC52F0 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.3% C 0.230 H 307.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC52F0
RGBrgb(172, 82, 240)
HSLhsl(274, 84%, 63%)
HSVhsv(274, 66%, 94%)
CMYKcmyk(28.3%, 65.8%, 0%, 5.9%)
CIE-LABlab(53.06, 63.29, -64.81)
CIE-LCHlch(53.06, 90.59, 314.32°)
OKLaboklab(62.3% 0.1387 -0.1836)
OKLCHoklch(62.3% 0.23 307.1)
XYZxyz(35.7554, 21.0969, 84.6097)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52F0 #96F052
analogous
#5D52F0 #AC52F0 #F052E5
triadic
#AC52F0 #F0AC52 #52F0AC
tetradic
#AC52F0 #F05D52 #96F052 #52E5F0
square
#AC52F0 #F05D52 #96F052 #52E5F0
split-complementary
#AC52F0 #E5F052 #52F05D
monochromatic
#6F10B8 #911AEB #AC52F0 #C78AF5 #E2C3FA

Accessibility & contrast

On white

4.02
#AC52F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AC52F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52F0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52F0#FFFFFF#000000##000000
##AC52F01.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#2C7FED
Tritanopia (blue-blind)
#A1749A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac52f0;
/* rgb */ color: rgb(172, 82, 240);
/* oklch */ color: oklch(62.3% 0.230 307.1);
Tailwind
colors: {
  custom: {
    50: '#c988f6',
    500: '#ac52f0',
    950: '#000000',
  },
}
SCSS
$custom: #ac52f0;
$custom-light: #c988f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52f0",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 240
  },
  "hsl": {
    "h": 274.177,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.23009,
    "h": 307.1
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#AC52F0
secondary
#CBEBB3
accent
#E00563
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52F0

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

Preview Lab → · Contrast checker → · Palette generator →

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