#AC59DB#AC59DB

#AC59DB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.8% C 0.199 H 311.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AC59DB
RGBrgb(172, 89, 219)
HSLhsl(278, 64%, 60%)
HSVhsv(278, 59%, 86%)
CMYKcmyk(21.5%, 59.4%, 0%, 14.1%)
CIE-LABlab(52.98, 55.39, -53.11)
CIE-LCHlch(52.98, 76.73, 316.21°)
OKLaboklab(61.84% 0.1316 -0.1493)
OKLCHoklch(61.84% 0.199 311.4)
XYZxyz(33.3695, 21.0306, 69.3056)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC59DB #88DB59
analogous
#6B59DB #AC59DB #DB59C9
triadic
#AC59DB #DBAC59 #59DBAC
tetradic
#AC59DB #DB6B59 #88DB59 #59C9DB
square
#AC59DB #DB6B59 #88DB59 #59C9DB
split-complementary
#AC59DB #C9DB59 #59DB6B
monochromatic
#6D2199 #912CCB #AC59DB #C58BE6 #DEBEF1

Accessibility & contrast

On white

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

On black

5.21
#AC59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC59DB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC59DB#FFFFFF#000000##000000
##AC59DB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#A67192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac59db;
/* rgb */ color: rgb(172, 89, 219);
/* oklch */ color: oklch(61.8% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#c88ce7',
    500: '#ac59db',
    950: '#000000',
  },
}
SCSS
$custom: #ac59db;
$custom-light: #c88ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac59db",
  "rgb": {
    "r": 172,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 278.308,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.199,
    "h": 311.4
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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