#AC58DB#AC58DB

#AC58DB is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.200 H 311.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC58DB
RGBrgb(172, 88, 219)
HSLhsl(278, 65%, 60%)
HSVhsv(278, 60%, 86%)
CMYKcmyk(21.5%, 59.8%, 0%, 14.1%)
CIE-LABlab(52.80, 55.88, -53.39)
CIE-LCHlch(52.80, 77.29, 316.30°)
OKLaboklab(61.71% 0.1328 -0.1501)
OKLCHoklch(61.71% 0.2 311.5)
XYZxyz(33.2868, 20.8653, 69.2780)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC58DB #87DB58
analogous
#6A58DB #AC58DB #DB58C9
triadic
#AC58DB #DBAC58 #58DBAC
tetradic
#AC58DB #DB6A58 #87DB58 #58C9DB
square
#AC58DB #DB6A58 #87DB58 #58C9DB
split-complementary
#AC58DB #C9DB58 #58DB6A
monochromatic
#6D2198 #912CCA #AC58DB #C58AE6 #DEBDF1

Accessibility & contrast

On white

4.06
#AC58DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AC58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC58DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC58DB#FFFFFF#000000##000000
##AC58DB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#A67091
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac58db;
/* rgb */ color: rgb(172, 88, 219);
/* oklch */ color: oklch(61.7% 0.200 311.5);
Tailwind
colors: {
  custom: {
    50: '#c88be7',
    500: '#ac58db',
    950: '#000000',
  },
}
SCSS
$custom: #ac58db;
$custom-light: #c88be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac58db",
  "rgb": {
    "r": 172,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 278.473,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.20044,
    "h": 311.5
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#AC58DB
secondary
#C0E1AE
accent
#CC1959
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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