#AC58DC#AC58DC

#AC58DC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.201 H 311.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC58DC
RGBrgb(172, 88, 220)
HSLhsl(278, 65%, 60%)
HSVhsv(278, 60%, 86%)
CMYKcmyk(21.8%, 60%, 0%, 13.7%)
CIE-LABlab(52.86, 56.09, -53.87)
CIE-LCHlch(52.86, 77.77, 316.16°)
OKLaboklab(61.77% 0.1328 -0.1515)
OKLCHoklch(61.77% 0.201 311.2)
XYZxyz(33.4189, 20.9182, 69.9734)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC58DC #88DC58
analogous
#6A58DC #AC58DC #DC58CA
triadic
#AC58DC #DCAC58 #58DCAC
tetradic
#AC58DC #DC6A58 #88DC58 #58CADC
square
#AC58DC #DC6A58 #88DC58 #58CADC
split-complementary
#AC58DC #CADC58 #58DC6A
monochromatic
#6D2099 #912BCC #AC58DC #C58BE7 #DEBDF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC58DC#FFFFFF#000000##000000
##AC58DC1.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)
#257AE0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#A67192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac58dc;
/* rgb */ color: rgb(172, 88, 220);
/* oklch */ color: oklch(61.8% 0.201 311.2);
Tailwind
colors: {
  custom: {
    50: '#c88be7',
    500: '#ac58dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac58dc;
$custom-light: #c88be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac58dc",
  "rgb": {
    "r": 172,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 278.182,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.20148,
    "h": 311.2
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#AC58DC
secondary
#C1E1AF
accent
#CD185A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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