#AC4FE7#AC4FE7

#AC4FE7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.4% C 0.225 H 309.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AC4FE7
RGBrgb(172, 79, 231)
HSLhsl(277, 76%, 61%)
HSVhsv(277, 66%, 91%)
CMYKcmyk(25.5%, 65.8%, 0%, 9.4%)
CIE-LABlab(51.99, 62.69, -61.48)
CIE-LCHlch(51.99, 87.80, 315.56°)
OKLaboklab(61.35% 0.1427 -0.1738)
OKLCHoklch(61.35% 0.225 309.4)
XYZxyz(34.2302, 20.1328, 77.6686)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FE7 #8AE74F
analogous
#604FE7 #AC4FE7 #E74FD6
triadic
#AC4FE7 #E7AC4F #4FE7AC
tetradic
#AC4FE7 #E7604F #8AE74F #4FD6E7
square
#AC4FE7 #E7604F #8AE74F #4FD6E7
split-complementary
#AC4FE7 #D6E74F #4FE760
monochromatic
#6E17A5 #921EDB #AC4FE7 #C585EE #DFBBF6

Accessibility & contrast

On white

4.18
#AC4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AC4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4FE7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FE7#FFFFFF#000000##000000
##AC4FE71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#367DE4
Tritanopia (blue-blind)
#A46F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac4fe7;
/* rgb */ color: rgb(172, 79, 231);
/* oklch */ color: oklch(61.4% 0.225 309.4);
Tailwind
colors: {
  custom: {
    50: '#c986ef',
    500: '#ac4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fe7;
$custom-light: #c986ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fe7",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 276.711,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.22487,
    "h": 309.4
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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