#AC72DF#AC72DF

#AC72DF is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.7% C 0.165 H 307.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AC72DF
RGBrgb(172, 114, 223)
HSLhsl(272, 63%, 66%)
HSVhsv(272, 49%, 87%)
CMYKcmyk(22.9%, 48.9%, 0%, 12.5%)
CIE-LABlab(58.16, 43.25, -47.12)
CIE-LCHlch(58.16, 63.96, 312.55°)
OKLaboklab(65.72% 0.0994 -0.1319)
OKLCHoklch(65.72% 0.165 307)
XYZxyz(36.3472, 26.1334, 72.9272)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72DF #A5DF72
analogous
#7572DF #AC72DF #DF72DB
triadic
#AC72DF #DFAC72 #72DFAC
tetradic
#AC72DF #DF7572 #A5DF72 #72DBDF
square
#AC72DF #DF7572 #A5DF72 #72DBDF
split-complementary
#AC72DF #DBDF72 #72DF75
monochromatic
#7028AF #8F40D4 #AC72DF #C9A4EA #E7D6F6

Accessibility & contrast

On white

3.37
#AC72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AC72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72DF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72DF#FFFFFF#000000##000000
##AC72DF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#648CDC
Tritanopia (blue-blind)
#A4859E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac72df;
/* rgb */ color: rgb(172, 114, 223);
/* oklch */ color: oklch(65.7% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#c79ce9',
    500: '#ac72df',
    950: '#000000',
  },
}
SCSS
$custom: #ac72df;
$custom-light: #c79ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72df",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 271.927,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65722,
    "c": 0.16515,
    "h": 307
  },
  "luminance": 0.26133
}

Semantic roles & 50–950 ramp

primary
#AC72DF
secondary
#D5E8C4
accent
#CB1B6D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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