#AC4AEB#AC4AEB

#AC4AEB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.235 H 308.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC4AEB
RGBrgb(172, 74, 235)
HSLhsl(277, 80%, 61%)
HSVhsv(277, 69%, 92%)
CMYKcmyk(26.8%, 68.5%, 0%, 7.8%)
CIE-LABlab(51.46, 65.74, -64.58)
CIE-LCHlch(51.46, 92.16, 315.51°)
OKLaboklab(61.05% 0.1476 -0.1829)
OKLCHoklch(61.05% 0.235 308.9)
XYZxyz(34.4544, 19.6670, 80.5622)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4AEB #89EB4A
analogous
#5B4AEB #AC4AEB #EB4AD9
triadic
#AC4AEB #EBAC4A #4AEBAC
tetradic
#AC4AEB #EB5B4A #89EB4A #4AD9EB
square
#AC4AEB #EB5B4A #89EB4A #4AD9EB
split-complementary
#AC4AEB #D9EB4A #4AEB5B
monochromatic
#6E13A8 #9119DF #AC4AEB #C581F1 #DFB8F7

Accessibility & contrast

On white

4.26
#AC4AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AC4AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4AEB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4AEB#FFFFFF#000000##000000
##AC4AEB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#287CE7
Tritanopia (blue-blind)
#A36D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4aeb;
/* rgb */ color: rgb(172, 74, 235);
/* oklch */ color: oklch(61.1% 0.235 308.9);
Tailwind
colors: {
  custom: {
    50: '#c984f2',
    500: '#ac4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ac4aeb;
$custom-light: #c984f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4aeb",
  "rgb": {
    "r": 172,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 276.522,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.23498,
    "h": 308.9
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#AC4AEB
secondary
#C2E7AA
accent
#DC095C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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