#AC4BEB#AC4BEB

#AC4BEB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.2% C 0.234 H 308.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC4BEB
RGBrgb(172, 75, 235)
HSLhsl(276, 80%, 61%)
HSVhsv(276, 68%, 92%)
CMYKcmyk(26.8%, 68.1%, 0%, 7.8%)
CIE-LABlab(51.61, 65.31, -64.34)
CIE-LCHlch(51.61, 91.68, 315.43°)
OKLaboklab(61.16% 0.1465 -0.1821)
OKLCHoklch(61.16% 0.234 308.8)
XYZxyz(34.5217, 19.8016, 80.5846)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4BEB #8AEB4B
analogous
#5C4BEB #AC4BEB #EB4BDA
triadic
#AC4BEB #EBAC4B #4BEBAC
tetradic
#AC4BEB #EB5C4B #8AEB4B #4BDAEB
square
#AC4BEB #EB5C4B #8AEB4B #4BDAEB
split-complementary
#AC4BEB #DAEB4B #4BEB5C
monochromatic
#6E13A9 #9219E0 #AC4BEB #C582F1 #DFB9F7

Accessibility & contrast

On white

4.23
#AC4BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AC4BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4BEB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4BEB#FFFFFF#000000##000000
##AC4BEB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#2A7CE8
Tritanopia (blue-blind)
#A36E96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4beb;
/* rgb */ color: rgb(172, 75, 235);
/* oklch */ color: oklch(61.2% 0.234 308.8);
Tailwind
colors: {
  custom: {
    50: '#c984f2',
    500: '#ac4beb',
    950: '#000000',
  },
}
SCSS
$custom: #ac4beb;
$custom-light: #c984f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4beb",
  "rgb": {
    "r": 172,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 276.375,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.23378,
    "h": 308.8
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC4BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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