#AC4AEF#AC4AEF

#AC4AEF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.3% C 0.239 H 308.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AC4AEF
RGBrgb(172, 74, 239)
HSLhsl(276, 84%, 61%)
HSVhsv(276, 69%, 94%)
CMYKcmyk(28%, 69%, 0%, 6.3%)
CIE-LABlab(51.72, 66.60, -66.40)
CIE-LCHlch(51.72, 94.04, 315.08°)
OKLaboklab(61.33% 0.1471 -0.1882)
OKLCHoklch(61.33% 0.239 308)
XYZxyz(35.0388, 19.9007, 83.6400)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4AEF #8DEF4A
analogous
#5A4AEF #AC4AEF #EF4AE0
triadic
#AC4AEF #EFAC4A #4AEFAC
tetradic
#AC4AEF #EF5A4A #8DEF4A #4AE0EF
square
#AC4AEF #EF5A4A #8DEF4A #4AE0EF
split-complementary
#AC4AEF #E0EF4A #4AEF5A
monochromatic
#6E0FAF #9214E7 #AC4AEF #C682F4 #E0BAF9

Accessibility & contrast

On white

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

On black

4.98
#AC4AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4AEF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4AEF#FFFFFF#000000##000000
##AC4AEF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#1F7CEB
Tritanopia (blue-blind)
#A16F97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4aef;
/* rgb */ color: rgb(172, 74, 239);
/* oklch */ color: oklch(61.3% 0.239 308.0);
Tailwind
colors: {
  custom: {
    50: '#ca84f5',
    500: '#ac4aef',
    950: '#000000',
  },
}
SCSS
$custom: #ac4aef;
$custom-light: #ca84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4aef",
  "rgb": {
    "r": 172,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 275.636,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.23886,
    "h": 308
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#AC4AEF
secondary
#C5E9AC
accent
#E0055E
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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