#AC4FE2#AC4FE2

#AC4FE2 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.220 H 310.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC4FE2
RGBrgb(172, 79, 226)
HSLhsl(278, 72%, 60%)
HSVhsv(278, 65%, 89%)
CMYKcmyk(23.9%, 65%, 0%, 11.4%)
CIE-LABlab(51.67, 61.62, -59.17)
CIE-LCHlch(51.67, 85.43, 316.16°)
OKLaboklab(61.02% 0.1431 -0.167)
OKLCHoklch(61.02% 0.22 310.6)
XYZxyz(33.5341, 19.8543, 74.0025)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FE2 #85E24F
analogous
#634FE2 #AC4FE2 #E24FCF
triadic
#AC4FE2 #E2AC4F #4FE2AC
tetradic
#AC4FE2 #E2634F #85E24F #4FCFE2
square
#AC4FE2 #E2634F #85E24F #4FCFE2
split-complementary
#AC4FE2 #CFE24F #4FE263
monochromatic
#6D1A9D #9122D1 #AC4FE2 #C584EB #DEB8F3

Accessibility & contrast

On white

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

On black

4.97
#AC4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FE2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FE2#FFFFFF#000000##000000
##AC4FE21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#A56D92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4fe2;
/* rgb */ color: rgb(172, 79, 226);
/* oklch */ color: oklch(61.0% 0.220 310.6);
Tailwind
colors: {
  custom: {
    50: '#c986ec',
    500: '#ac4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fe2;
$custom-light: #c986ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fe2",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 277.959,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.2199,
    "h": 310.6
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#AC4FE2
secondary
#BFE3AA
accent
#EE397C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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