#AC4BE4#AC4BE4

#AC4BE4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.7% C 0.227 H 310.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC4BE4
RGBrgb(172, 75, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 67%, 89%)
CMYKcmyk(24.6%, 67.1%, 0%, 10.6%)
CIE-LABlab(51.16, 63.82, -61.13)
CIE-LCHlch(51.16, 88.37, 316.24°)
OKLaboklab(60.69% 0.1473 -0.1727)
OKLCHoklch(60.69% 0.227 310.4)
XYZxyz(33.5302, 19.4050, 75.3629)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4BE4 #83E44B
analogous
#604BE4 #AC4BE4 #E44BD0
triadic
#AC4BE4 #E4AC4B #4BE4AC
tetradic
#AC4BE4 #E4604B #83E44B #4BD0E4
square
#AC4BE4 #E4604B #83E44B #4BD0E4
split-complementary
#AC4BE4 #D0E44B #4BE460
monochromatic
#6C189D #9120D2 #AC4BE4 #C580EC #DDB5F4

Accessibility & contrast

On white

4.30
#AC4BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC4BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4BE4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4BE4#FFFFFF#000000##000000
##AC4BE41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#357BE1
Tritanopia (blue-blind)
#A56B92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4be4;
/* rgb */ color: rgb(172, 75, 228);
/* oklch */ color: oklch(60.7% 0.227 310.4);
Tailwind
colors: {
  custom: {
    50: '#c984ed',
    500: '#ac4be4',
    950: '#000000',
  },
}
SCSS
$custom: #ac4be4;
$custom-light: #c984ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4be4",
  "rgb": {
    "r": 172,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 278.039,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.22697,
    "h": 310.4
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#AC4BE4
secondary
#BDE3A8
accent
#F1377B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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