#AC74DD#AC74DD

#AC74DD is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.160 H 307.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AC74DD
RGBrgb(172, 116, 221)
HSLhsl(272, 61%, 66%)
HSVhsv(272, 48%, 87%)
CMYKcmyk(22.2%, 47.5%, 0%, 13.3%)
CIE-LABlab(58.49, 41.70, -45.48)
CIE-LCHlch(58.49, 61.70, 312.52°)
OKLaboklab(65.93% 0.0964 -0.1271)
OKLCHoklch(65.93% 0.16 307.2)
XYZxyz(36.3072, 26.4823, 71.5915)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74DD #A5DD74
analogous
#7774DD #AC74DD #DD74D9
triadic
#AC74DD #DDAC74 #74DDAC
tetradic
#AC74DD #DD7774 #A5DD74 #74D9DD
square
#AC74DD #DD7774 #A5DD74 #74D9DD
split-complementary
#AC74DD #D9DD74 #74DD77
monochromatic
#702AAC #8F43D1 #AC74DD #C9A5E9 #E7D6F5

Accessibility & contrast

On white

3.34
#AC74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AC74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74DD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74DD#FFFFFF#000000##000000
##AC74DD1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE1
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#A5869E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac74dd;
/* rgb */ color: rgb(172, 116, 221);
/* oklch */ color: oklch(65.9% 0.160 307.2);
Tailwind
colors: {
  custom: {
    50: '#c79de8',
    500: '#ac74dd',
    950: '#000000',
  },
}
SCSS
$custom: #ac74dd;
$custom-light: #c79de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74dd",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 272,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65934,
    "c": 0.15956,
    "h": 307.2
  },
  "luminance": 0.26482
}

Semantic roles & 50–950 ramp

primary
#AC74DD
secondary
#D5E8C5
accent
#C81D6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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