#AC4DE8#AC4DE8

#AC4DE8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.2% C 0.228 H 309.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AC4DE8
RGBrgb(172, 77, 232)
HSLhsl(277, 77%, 61%)
HSVhsv(277, 67%, 91%)
CMYKcmyk(25.9%, 66.8%, 0%, 9%)
CIE-LABlab(51.73, 63.79, -62.46)
CIE-LCHlch(51.73, 89.28, 315.61°)
OKLaboklab(61.19% 0.1448 -0.1766)
OKLCHoklch(61.19% 0.228 309.3)
XYZxyz(34.2297, 19.9052, 78.3672)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DE8 #89E84D
analogous
#5E4DE8 #AC4DE8 #E84DD6
triadic
#AC4DE8 #E8AC4D #4DE8AC
tetradic
#AC4DE8 #E85E4D #89E84D #4DD6E8
square
#AC4DE8 #E85E4D #89E84D #4DD6E8
split-complementary
#AC4DE8 #D6E84D #4DE85E
monochromatic
#6E15A5 #911CDB #AC4DE8 #C583EF #DFB9F6

Accessibility & contrast

On white

4.22
#AC4DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AC4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4DE8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DE8#FFFFFF#000000##000000
##AC4DE81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#A36E95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4de8;
/* rgb */ color: rgb(172, 77, 232);
/* oklch */ color: oklch(61.2% 0.228 309.3);
Tailwind
colors: {
  custom: {
    50: '#c985f0',
    500: '#ac4de8',
    950: '#000000',
  },
}
SCSS
$custom: #ac4de8;
$custom-light: #c985f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4de8",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 276.774,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.22839,
    "h": 309.3
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#AC4DE8
secondary
#C2E6AB
accent
#D90C5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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