#AC4CE7#AC4CE7

#AC4CE7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.0% C 0.229 H 309.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC4CE7
RGBrgb(172, 76, 231)
HSLhsl(277, 76%, 60%)
HSVhsv(277, 67%, 91%)
CMYKcmyk(25.5%, 67.1%, 0%, 9.4%)
CIE-LABlab(51.51, 64.02, -62.25)
CIE-LCHlch(51.51, 89.30, 315.80°)
OKLaboklab(61.01% 0.1459 -0.176)
OKLCHoklch(61.01% 0.229 309.7)
XYZxyz(34.0187, 19.7097, 77.5981)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CE7 #87E74C
analogous
#5E4CE7 #AC4CE7 #E74CD5
triadic
#AC4CE7 #E7AC4C #4CE7AC
tetradic
#AC4CE7 #E75E4C #87E74C #4CD5E7
square
#AC4CE7 #E75E4C #87E74C #4CD5E7
split-complementary
#AC4CE7 #D5E74C #4CE75E
monochromatic
#6D16A3 #911DD9 #AC4CE7 #C582EE #DEB8F5

Accessibility & contrast

On white

4.25
#AC4CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AC4CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CE7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CE7#FFFFFF#000000##000000
##AC4CE71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#327CE4
Tritanopia (blue-blind)
#A46D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4ce7;
/* rgb */ color: rgb(172, 76, 231);
/* oklch */ color: oklch(61.0% 0.229 309.7);
Tailwind
colors: {
  custom: {
    50: '#c985ef',
    500: '#ac4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ce7;
$custom-light: #c985ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ce7",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 277.161,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61006,
    "c": 0.22865,
    "h": 309.7
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#AC4CE7
secondary
#C0E5AA
accent
#D90D5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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