#AC72FC#AC72FC

#AC72FC is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.199 H 300.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AC72FC
RGBrgb(172, 114, 252)
HSLhsl(265, 96%, 72%)
HSVhsv(265, 55%, 99%)
CMYKcmyk(31.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(59.74, 50.09, -60.74)
CIE-LCHlch(59.74, 78.73, 309.51°)
OKLaboklab(67.4% 0.1013 -0.1717)
OKLCHoklch(67.4% 0.199 300.5)
XYZxyz(40.5971, 27.8333, 95.3101)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72FC #C2FC72
analogous
#727DFC #AC72FC #F172FC
triadic
#AC72FC #FCAC72 #72FCAC
tetradic
#AC72FC #FC727D #C2FC72 #72FCF1
square
#AC72FC #FC727D #C2FC72 #72FCF1
split-complementary
#AC72FC #FCF172 #7DFC72
monochromatic
#6705EF #8936FB #AC72FC #CFAEFD #EDE1FE

Accessibility & contrast

On white

3.20
#AC72FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AC72FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72FC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72FC#FFFFFF#000000##000000
##AC72FC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#4D8FF9
Tritanopia (blue-blind)
#9C8DAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac72fc;
/* rgb */ color: rgb(172, 114, 252);
/* oklch */ color: oklch(67.4% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#c99cfe',
    500: '#ac72fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac72fc;
$custom-light: #c99cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72fc",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 265.217,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67397,
    "c": 0.19939,
    "h": 300.5
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#AC72FC
secondary
#E8F6D3
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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