#AC4CE2#AC4CE2

#AC4CE2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.7% C 0.224 H 310.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AC4CE2
RGBrgb(172, 76, 226)
HSLhsl(278, 72%, 59%)
HSVhsv(278, 66%, 89%)
CMYKcmyk(23.9%, 66.4%, 0%, 11.4%)
CIE-LABlab(51.19, 62.96, -59.95)
CIE-LCHlch(51.19, 86.93, 316.40°)
OKLaboklab(60.68% 0.1464 -0.1693)
OKLCHoklch(60.68% 0.224 310.8)
XYZxyz(33.3226, 19.4313, 73.9320)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CE2 #82E24C
analogous
#614CE2 #AC4CE2 #E24CCD
triadic
#AC4CE2 #E2AC4C #4CE2AC
tetradic
#AC4CE2 #E2614C #82E24C #4CCDE2
square
#AC4CE2 #E2614C #82E24C #4CCDE2
split-complementary
#AC4CE2 #CDE24C #4CE261
monochromatic
#6C199B #9122CF #AC4CE2 #C481EB #DDB5F3

Accessibility & contrast

On white

4.30
#AC4CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AC4CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CE2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CE2#FFFFFF#000000##000000
##AC4CE21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#A56B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4ce2;
/* rgb */ color: rgb(172, 76, 226);
/* oklch */ color: oklch(60.7% 0.224 310.8);
Tailwind
colors: {
  custom: {
    50: '#c985ec',
    500: '#ac4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ce2;
$custom-light: #c985ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ce2",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 278.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.22376,
    "h": 310.8
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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