#AC59EC#AC59EC

#AC59EC is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.217 H 307.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AC59EC
RGBrgb(172, 89, 236)
HSLhsl(274, 79%, 64%)
HSVhsv(274, 62%, 93%)
CMYKcmyk(27.1%, 62.3%, 0%, 7.5%)
CIE-LABlab(54.00, 59.12, -61.05)
CIE-LCHlch(54.00, 84.99, 314.08°)
OKLaboklab(62.9% 0.1312 -0.1726)
OKLCHoklch(62.9% 0.217 307.2)
XYZxyz(35.7228, 21.9720, 81.6997)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC59EC #99EC59
analogous
#6259EC #AC59EC #EC59E2
triadic
#AC59EC #ECAC59 #59ECAC
tetradic
#AC59EC #EC6259 #99EC59 #59E2EC
square
#AC59EC #EC6259 #99EC59 #59E2EC
split-complementary
#AC59EC #E2EC59 #59EC62
monochromatic
#7015B6 #9122E6 #AC59EC #C790F2 #E3C7F9

Accessibility & contrast

On white

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

On black

5.39
#AC59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC59EC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC59EC#FFFFFF#000000##000000
##AC59EC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#A2779B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac59ec;
/* rgb */ color: rgb(172, 89, 236);
/* oklch */ color: oklch(62.9% 0.217 307.2);
Tailwind
colors: {
  custom: {
    50: '#c98cf3',
    500: '#ac59ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac59ec;
$custom-light: #c98cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac59ec",
  "rgb": {
    "r": 172,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 273.878,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62899,
    "c": 0.2168,
    "h": 307.2
  },
  "luminance": 0.21972
}

Semantic roles & 50–950 ramp

primary
#AC59EC
secondary
#CDEAB6
accent
#DC0A65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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