#AC4EE8#AC4EE8

#AC4EE8 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.227 H 309.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC4EE8
RGBrgb(172, 78, 232)
HSLhsl(277, 77%, 61%)
HSVhsv(277, 66%, 91%)
CMYKcmyk(25.9%, 66.4%, 0%, 9%)
CIE-LABlab(51.89, 63.35, -62.20)
CIE-LCHlch(51.89, 88.78, 315.52°)
OKLaboklab(61.3% 0.1437 -0.1759)
OKLCHoklch(61.3% 0.227 309.2)
XYZxyz(34.3002, 20.0463, 78.3907)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EE8 #8AE84E
analogous
#5F4EE8 #AC4EE8 #E84ED7
triadic
#AC4EE8 #E8AC4E #4EE8AC
tetradic
#AC4EE8 #E85F4E #8AE84E #4ED7E8
square
#AC4EE8 #E85F4E #8AE84E #4ED7E8
split-complementary
#AC4EE8 #D7E84E #4EE85F
monochromatic
#6E16A6 #921DDC #AC4EE8 #C584EF #DFBAF6

Accessibility & contrast

On white

4.19
#AC4EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AC4EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EE8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EE8#FFFFFF#000000##000000
##AC4EE81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#A36F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac4ee8;
/* rgb */ color: rgb(172, 78, 232);
/* oklch */ color: oklch(61.3% 0.227 309.2);
Tailwind
colors: {
  custom: {
    50: '#c986f0',
    500: '#ac4ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ee8;
$custom-light: #c986f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ee8",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 276.623,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.22714,
    "h": 309.2
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC4EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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