#AC4EEC#AC4EEC

#AC4EEC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.6% C 0.231 H 308.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC4EEC
RGBrgb(172, 78, 236)
HSLhsl(276, 81%, 62%)
HSVhsv(276, 67%, 93%)
CMYKcmyk(27.1%, 66.9%, 0%, 7.5%)
CIE-LABlab(52.15, 64.21, -64.03)
CIE-LCHlch(52.15, 90.68, 315.08°)
OKLaboklab(61.57% 0.1433 -0.1813)
OKLCHoklch(61.57% 0.231 308.3)
XYZxyz(34.8749, 20.2761, 81.4171)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EEC #8EEC4E
analogous
#5D4EEC #AC4EEC #EC4EDD
triadic
#AC4EEC #ECAC4E #4EECAC
tetradic
#AC4EEC #EC5D4E #8EEC4E #4EDDEC
square
#AC4EEC #EC5D4E #8EEC4E #4EDDEC
split-complementary
#AC4EEC #DDEC4E #4EEC5D
monochromatic
#6E13AD #9219E4 #AC4EEC #C685F2 #E0BDF8

Accessibility & contrast

On white

4.15
#AC4EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AC4EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EEC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EEC#FFFFFF#000000##000000
##AC4EEC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#2D7DE9
Tritanopia (blue-blind)
#A27097
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac4eec;
/* rgb */ color: rgb(172, 78, 236);
/* oklch */ color: oklch(61.6% 0.231 308.3);
Tailwind
colors: {
  custom: {
    50: '#c986f3',
    500: '#ac4eec',
    950: '#000000',
  },
}
SCSS
$custom: #ac4eec;
$custom-light: #c986f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4eec",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 275.696,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.23109,
    "h": 308.3
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#AC4EEC
secondary
#C5E8AE
accent
#DD095F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC4EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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