#AC4CEB#AC4CEB

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

Color values

HEX#AC4CEB
RGBrgb(172, 76, 235)
HSLhsl(276, 80%, 61%)
HSVhsv(276, 68%, 92%)
CMYKcmyk(26.8%, 67.7%, 0%, 7.8%)
CIE-LABlab(51.77, 64.88, -64.09)
CIE-LCHlch(51.77, 91.19, 315.35°)
OKLaboklab(61.28% 0.1455 -0.1814)
OKLCHoklch(61.28% 0.233 308.7)
XYZxyz(34.5901, 19.9383, 80.6074)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CEB #8BEB4C
analogous
#5C4CEB #AC4CEB #EB4CDB
triadic
#AC4CEB #EBAC4C #4CEBAC
tetradic
#AC4CEB #EB5C4C #8BEB4C #4CDBEB
square
#AC4CEB #EB5C4C #8BEB4C #4CDBEB
split-complementary
#AC4CEB #DBEB4C #4CEB5C
monochromatic
#6E13AA #9219E1 #AC4CEB #C683F1 #DFBAF7

Accessibility & contrast

On white

4.21
#AC4CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AC4CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CEB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CEB#FFFFFF#000000##000000
##AC4CEB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#A36F96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4ceb;
/* rgb */ color: rgb(172, 76, 235);
/* oklch */ color: oklch(61.3% 0.233 308.7);
Tailwind
colors: {
  custom: {
    50: '#c985f2',
    500: '#ac4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ceb;
$custom-light: #c985f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ceb",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 276.226,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.23256,
    "h": 308.7
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#AC4CEB
secondary
#C3E7AB
accent
#DC095D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AC4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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