#AC52ED#AC52ED

#AC52ED is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.227 H 307.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC52ED
RGBrgb(172, 82, 237)
HSLhsl(275, 81%, 63%)
HSVhsv(275, 65%, 93%)
CMYKcmyk(27.4%, 65.4%, 0%, 7.1%)
CIE-LABlab(52.86, 62.63, -63.44)
CIE-LCHlch(52.86, 89.15, 314.63°)
OKLaboklab(62.1% 0.139 -0.1796)
OKLCHoklch(62.1% 0.227 307.7)
XYZxyz(35.3134, 20.9202, 82.2820)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52ED #93ED52
analogous
#5F52ED #AC52ED #ED52E0
triadic
#AC52ED #EDAC52 #52EDAC
tetradic
#AC52ED #ED5F52 #93ED52 #52E0ED
square
#AC52ED #ED5F52 #93ED52 #52E0ED
split-complementary
#AC52ED #E0ED52 #52ED5F
monochromatic
#6F13B2 #911BE7 #AC52ED #C789F3 #E1C1F9

Accessibility & contrast

On white

4.05
#AC52ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AC52ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52ED#FFFFFF#000000##000000
##AC52ED1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#A27399
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac52ed;
/* rgb */ color: rgb(172, 82, 237);
/* oklch */ color: oklch(62.1% 0.227 307.7);
Tailwind
colors: {
  custom: {
    50: '#c988f4',
    500: '#ac52ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac52ed;
$custom-light: #c988f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52ed",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 274.839,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.22705,
    "h": 307.7
  },
  "luminance": 0.2092
}

Semantic roles & 50–950 ramp

primary
#AC52ED
secondary
#C9EAB1
accent
#DE0862
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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