#AC4FE1#AC4FE1

#AC4FE1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.219 H 310.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC4FE1
RGBrgb(172, 79, 225)
HSLhsl(278, 71%, 60%)
HSVhsv(278, 65%, 88%)
CMYKcmyk(23.6%, 64.9%, 0%, 11.8%)
CIE-LABlab(51.61, 61.40, -58.70)
CIE-LCHlch(51.61, 84.95, 316.29°)
OKLaboklab(60.96% 0.1431 -0.1656)
OKLCHoklch(60.96% 0.219 310.8)
XYZxyz(33.3973, 19.7996, 73.2819)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FE1 #84E14F
analogous
#634FE1 #AC4FE1 #E14FCD
triadic
#AC4FE1 #E1AC4F #4FE1AC
tetradic
#AC4FE1 #E1634F #84E14F #4FCDE1
square
#AC4FE1 #E1634F #84E14F #4FCDE1
split-complementary
#AC4FE1 #CDE14F #4FE163
monochromatic
#6C1A9B #9123CF #AC4FE1 #C583EA #DDB8F3

Accessibility & contrast

On white

4.23
#AC4FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AC4FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FE1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FE1#FFFFFF#000000##000000
##AC4FE11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#A56D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4fe1;
/* rgb */ color: rgb(172, 79, 225);
/* oklch */ color: oklch(61.0% 0.219 310.8);
Tailwind
colors: {
  custom: {
    50: '#c986eb',
    500: '#ac4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fe1;
$custom-light: #c986eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fe1",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 278.219,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.21891,
    "h": 310.8
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#AC4FE1
secondary
#BEE2AA
accent
#EE3A7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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