#AC4CE8#AC4CE8

#AC4CE8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.1% C 0.230 H 309.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC4CE8
RGBrgb(172, 76, 232)
HSLhsl(277, 77%, 60%)
HSVhsv(277, 67%, 91%)
CMYKcmyk(25.9%, 67.2%, 0%, 9%)
CIE-LABlab(51.57, 64.23, -62.71)
CIE-LCHlch(51.57, 89.77, 315.69°)
OKLaboklab(61.07% 0.1458 -0.1774)
OKLCHoklch(61.07% 0.23 309.4)
XYZxyz(34.1603, 19.7664, 78.3440)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CE8 #88E84C
analogous
#5E4CE8 #AC4CE8 #E84CD6
triadic
#AC4CE8 #E8AC4C #4CE8AC
tetradic
#AC4CE8 #E85E4C #88E84C #4CD6E8
square
#AC4CE8 #E85E4C #88E84C #4CD6E8
split-complementary
#AC4CE8 #D6E84C #4CE85E
monochromatic
#6D15A4 #911CDB #AC4CE8 #C582EF #DEB8F6

Accessibility & contrast

On white

4.24
#AC4CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AC4CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CE8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CE8#FFFFFF#000000##000000
##AC4CE81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#307CE5
Tritanopia (blue-blind)
#A36D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4ce8;
/* rgb */ color: rgb(172, 76, 232);
/* oklch */ color: oklch(61.1% 0.230 309.4);
Tailwind
colors: {
  custom: {
    50: '#c985f0',
    500: '#ac4ce8',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ce8;
$custom-light: #c985f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ce8",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 276.923,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.22963,
    "h": 309.4
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#AC4CE8
secondary
#C1E6AA
accent
#D90C5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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