#AC59DC#AC59DC

#AC59DC is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.200 H 311.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC59DC
RGBrgb(172, 89, 220)
HSLhsl(278, 65%, 61%)
HSVhsv(278, 60%, 86%)
CMYKcmyk(21.8%, 59.5%, 0%, 13.7%)
CIE-LABlab(53.04, 55.60, -53.58)
CIE-LCHlch(53.04, 77.22, 316.06°)
OKLaboklab(61.9% 0.1316 -0.1507)
OKLCHoklch(61.9% 0.2 311.1)
XYZxyz(33.5015, 21.0835, 70.0010)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC59DC #89DC59
analogous
#6A59DC #AC59DC #DC59CB
triadic
#AC59DC #DCAC59 #59DCAC
tetradic
#AC59DC #DC6A59 #89DC59 #59CBDC
square
#AC59DC #DC6A59 #89DC59 #59CBDC
split-complementary
#AC59DC #CBDC59 #59DC6A
monochromatic
#6E209A #912BCD #AC59DC #C58CE7 #DFBEF1

Accessibility & contrast

On white

4.03
#AC59DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC59DC#FFFFFF#000000##000000
##AC59DC1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#A67192
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac59dc;
/* rgb */ color: rgb(172, 89, 220);
/* oklch */ color: oklch(61.9% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#c88ce7',
    500: '#ac59dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac59dc;
$custom-light: #c88ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac59dc",
  "rgb": {
    "r": 172,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 278.015,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.20004,
    "h": 311.1
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#AC59DC
secondary
#C2E1AF
accent
#CD185B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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