#AC4DE2#AC4DE2

#AC4DE2 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.8% C 0.222 H 310.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AC4DE2
RGBrgb(172, 77, 226)
HSLhsl(278, 72%, 59%)
HSVhsv(278, 66%, 89%)
CMYKcmyk(23.9%, 65.9%, 0%, 11.4%)
CIE-LABlab(51.35, 62.52, -59.69)
CIE-LCHlch(51.35, 86.44, 316.33°)
OKLaboklab(60.79% 0.1453 -0.1685)
OKLCHoklch(60.79% 0.222 310.8)
XYZxyz(33.3920, 19.5701, 73.9551)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DE2 #83E24D
analogous
#624DE2 #AC4DE2 #E24DCE
triadic
#AC4DE2 #E2AC4D #4DE2AC
tetradic
#AC4DE2 #E2624D #83E24D #4DCEE2
square
#AC4DE2 #E2624D #83E24D #4DCEE2
split-complementary
#AC4DE2 #CEE24D #4DE262
monochromatic
#6C199B #9122D0 #AC4DE2 #C582EB #DDB6F3

Accessibility & contrast

On white

4.27
#AC4DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AC4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4DE2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DE2#FFFFFF#000000##000000
##AC4DE21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#3A7CDF
Tritanopia (blue-blind)
#A56C91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4de2;
/* rgb */ color: rgb(172, 77, 226);
/* oklch */ color: oklch(60.8% 0.222 310.8);
Tailwind
colors: {
  custom: {
    50: '#c985ec',
    500: '#ac4de2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4de2;
$custom-light: #c985ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4de2",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 278.255,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.22248,
    "h": 310.8
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#AC4DE2
secondary
#BDE2A8
accent
#EF397B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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