#AC74EC#AC74EC

#AC74EC is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.177 H 303.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AC74EC
RGBrgb(172, 116, 236)
HSLhsl(268, 76%, 69%)
HSVhsv(268, 51%, 93%)
CMYKcmyk(27.1%, 50.8%, 0%, 7.5%)
CIE-LABlab(59.27, 45.19, -52.63)
CIE-LCHlch(59.27, 69.37, 310.65°)
OKLaboklab(66.76% 0.098 -0.148)
OKLCHoklch(66.76% 0.177 303.5)
XYZxyz(38.3956, 27.3176, 82.5907)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74EC #B4EC74
analogous
#7478EC #AC74EC #E874EC
triadic
#AC74EC #ECAC74 #74ECAC
tetradic
#AC74EC #EC7478 #B4EC74 #74ECE8
square
#AC74EC #EC7478 #B4EC74 #74ECE8
split-complementary
#AC74EC #ECE874 #78EC74
monochromatic
#6D1CCA #8C3EE5 #AC74EC #CCAAF3 #ECE0FB

Accessibility & contrast

On white

3.25
#AC74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AC74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74EC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74EC#FFFFFF#000000##000000
##AC74EC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#5D8FE9
Tritanopia (blue-blind)
#A18AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac74ec;
/* rgb */ color: rgb(172, 116, 236);
/* oklch */ color: oklch(66.8% 0.177 303.5);
Tailwind
colors: {
  custom: {
    50: '#c89df3',
    500: '#ac74ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac74ec;
$custom-light: #c89df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74ec",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 268,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66762,
    "c": 0.17746,
    "h": 303.5
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#AC74EC
secondary
#DFEFCC
accent
#D80D7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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