#AC74DB#AC74DB

#AC74DB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.157 H 307.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AC74DB
RGBrgb(172, 116, 219)
HSLhsl(273, 59%, 66%)
HSVhsv(273, 47%, 86%)
CMYKcmyk(21.5%, 47%, 0%, 14.1%)
CIE-LABlab(58.39, 41.25, -44.51)
CIE-LCHlch(58.39, 60.69, 312.82°)
OKLaboklab(65.83% 0.0962 -0.1243)
OKLCHoklch(65.83% 0.157 307.7)
XYZxyz(36.0423, 26.3763, 70.1965)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74DB #A3DB74
analogous
#7874DB #AC74DB #DB74D7
triadic
#AC74DB #DBAC74 #74DBAC
tetradic
#AC74DB #DB7874 #A3DB74 #74D7DB
square
#AC74DB #DB7874 #A3DB74 #74D7DB
split-complementary
#AC74DB #D7DB74 #74DB78
monochromatic
#702CA9 #8F43CE #AC74DB #C9A5E8 #E6D5F4

Accessibility & contrast

On white

3.35
#AC74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AC74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74DB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74DB#FFFFFF#000000##000000
##AC74DB1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADF
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#A5859D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac74db;
/* rgb */ color: rgb(172, 116, 219);
/* oklch */ color: oklch(65.8% 0.157 307.7);
Tailwind
colors: {
  custom: {
    50: '#c79de6',
    500: '#ac74db',
    950: '#000000',
  },
}
SCSS
$custom: #ac74db;
$custom-light: #c79de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74db",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 272.621,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65827,
    "c": 0.15718,
    "h": 307.7
  },
  "luminance": 0.26376
}

Semantic roles & 50–950 ramp

primary
#AC74DB
secondary
#D4E7C4
accent
#C61F6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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