#AC4CEC#AC4CEC

#AC4CEC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.234 H 308.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC4CEC
RGBrgb(172, 76, 236)
HSLhsl(276, 81%, 61%)
HSVhsv(276, 68%, 93%)
CMYKcmyk(27.1%, 67.8%, 0%, 7.5%)
CIE-LABlab(51.83, 65.09, -64.54)
CIE-LCHlch(51.83, 91.67, 315.24°)
OKLaboklab(61.34% 0.1454 -0.1828)
OKLCHoklch(61.34% 0.234 308.5)
XYZxyz(34.7349, 19.9962, 81.3704)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CEC #8CEC4C
analogous
#5C4CEC #AC4CEC #EC4CDC
triadic
#AC4CEC #ECAC4C #4CECAC
tetradic
#AC4CEC #EC5C4C #8CEC4C #4CDCEC
square
#AC4CEC #EC5C4C #8CEC4C #4CDCEC
split-complementary
#AC4CEC #DCEC4C #4CEC5C
monochromatic
#6E12AB #9218E3 #AC4CEC #C683F2 #DFBBF8

Accessibility & contrast

On white

4.20
#AC4CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AC4CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CEC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CEC#FFFFFF#000000##000000
##AC4CEC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#A26F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac4cec;
/* rgb */ color: rgb(172, 76, 236);
/* oklch */ color: oklch(61.3% 0.234 308.5);
Tailwind
colors: {
  custom: {
    50: '#c985f3',
    500: '#ac4cec',
    950: '#000000',
  },
}
SCSS
$custom: #ac4cec;
$custom-light: #c985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4cec",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 276,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.23354,
    "h": 308.5
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

primary
#AC4CEC
secondary
#C4E8AC
accent
#DD085D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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