#AC4EE5#AC4EE5

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

Color values

HEX#AC4EE5
RGBrgb(172, 78, 229)
HSLhsl(277, 74%, 60%)
HSVhsv(277, 66%, 90%)
CMYKcmyk(24.9%, 65.9%, 0%, 10.2%)
CIE-LABlab(51.70, 62.71, -60.82)
CIE-LCHlch(51.70, 87.36, 315.88°)
OKLaboklab(61.1% 0.144 -0.1718)
OKLCHoklch(61.1% 0.224 310)
XYZxyz(33.8778, 19.8773, 76.1656)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EE5 #87E54E
analogous
#604EE5 #AC4EE5 #E54ED2
triadic
#AC4EE5 #E5AC4E #4EE5AC
tetradic
#AC4EE5 #E5604E #87E54E #4ED2E5
square
#AC4EE5 #E5604E #87E54E #4ED2E5
split-complementary
#AC4EE5 #D2E54E #4EE560
monochromatic
#6D18A1 #911FD6 #AC4EE5 #C583ED #DEB9F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC4EE5#FFFFFF#000000##000000
##AC4EE51.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)
#0077EA
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#A46D93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4ee5;
/* rgb */ color: rgb(172, 78, 229);
/* oklch */ color: oklch(61.1% 0.224 310.0);
Tailwind
colors: {
  custom: {
    50: '#c986ee',
    500: '#ac4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ee5;
$custom-light: #c986ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ee5",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 277.351,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61102,
    "c": 0.22417,
    "h": 310
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

primary
#AC4EE5
secondary
#C0E4AA
accent
#D70F5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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