#AC74DF#AC74DF

#AC74DF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.0% C 0.162 H 306.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AC74DF
RGBrgb(172, 116, 223)
HSLhsl(271, 63%, 66%)
HSVhsv(271, 48%, 87%)
CMYKcmyk(22.9%, 48%, 0%, 12.5%)
CIE-LABlab(58.59, 42.16, -46.44)
CIE-LCHlch(58.59, 62.72, 312.23°)
OKLaboklab(66.04% 0.0967 -0.1299)
OKLCHoklch(66.04% 0.162 306.6)
XYZxyz(36.5752, 26.5895, 73.0032)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74DF #A7DF74
analogous
#7774DF #AC74DF #DF74DD
triadic
#AC74DF #DFAC74 #74DFAC
tetradic
#AC74DF #DF7774 #A7DF74 #74DDDF
square
#AC74DF #DF7774 #A7DF74 #74DDDF
split-complementary
#AC74DF #DDDF74 #74DF77
monochromatic
#6F29B0 #8E42D4 #AC74DF #CAA6EA #E7D7F6

Accessibility & contrast

On white

3.32
#AC74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AC74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74DF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74DF#FFFFFF#000000##000000
##AC74DF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#668DDC
Tritanopia (blue-blind)
#A4869F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac74df;
/* rgb */ color: rgb(172, 116, 223);
/* oklch */ color: oklch(66.0% 0.162 306.6);
Tailwind
colors: {
  custom: {
    50: '#c79de9',
    500: '#ac74df',
    950: '#000000',
  },
}
SCSS
$custom: #ac74df;
$custom-light: #c79de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74df",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 271.402,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66042,
    "c": 0.16194,
    "h": 306.6
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#AC74DF
secondary
#D7E9C6
accent
#CA1B6F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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