#AC74EA#AC74EA

#AC74EA is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.175 H 304.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AC74EA
RGBrgb(172, 116, 234)
HSLhsl(268, 74%, 69%)
HSVhsv(268, 50%, 92%)
CMYKcmyk(26.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(59.16, 44.72, -51.68)
CIE-LCHlch(59.16, 68.34, 310.87°)
OKLaboklab(66.65% 0.0978 -0.1452)
OKLCHoklch(66.65% 0.175 304)
XYZxyz(38.1067, 27.2021, 81.0689)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74EA #B2EA74
analogous
#7477EA #AC74EA #E774EA
triadic
#AC74EA #EAAC74 #74EAAC
tetradic
#AC74EA #EA7477 #B2EA74 #74EAE7
square
#AC74EA #EA7477 #B2EA74 #74EAE7
split-complementary
#AC74EA #EAE774 #77EA74
monochromatic
#6E1EC6 #8C3FE2 #AC74EA #CCA9F2 #EBDEFA

Accessibility & contrast

On white

3.26
#AC74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AC74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74EA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74EA#FFFFFF#000000##000000
##AC74EA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#5F8EE7
Tritanopia (blue-blind)
#A189A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac74ea;
/* rgb */ color: rgb(172, 116, 234);
/* oklch */ color: oklch(66.6% 0.175 304.0);
Tailwind
colors: {
  custom: {
    50: '#c79df1',
    500: '#ac74ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac74ea;
$custom-light: #c79df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74ea",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 268.475,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.17507,
    "h": 304
  },
  "luminance": 0.27202
}

Semantic roles & 50–950 ramp

primary
#AC74EA
secondary
#DEEFCB
accent
#D61078
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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