#AC72F8#AC72F8

#AC72F8 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.195 H 301.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AC72F8
RGBrgb(172, 114, 248)
HSLhsl(266, 91%, 71%)
HSVhsv(266, 54%, 97%)
CMYKcmyk(30.6%, 54%, 0%, 2.7%)
CIE-LABlab(59.51, 49.13, -58.89)
CIE-LCHlch(59.51, 76.69, 309.83°)
OKLaboklab(67.16% 0.1012 -0.1663)
OKLCHoklch(67.16% 0.195 301.3)
XYZxyz(39.9699, 27.5825, 92.0069)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72F8 #BEF872
analogous
#727BF8 #AC72F8 #EF72F8
triadic
#AC72F8 #F8AC72 #72F8AC
tetradic
#AC72F8 #F8727B #BEF872 #72F8EF
square
#AC72F8 #F8727B #BEF872 #72F8EF
split-complementary
#AC72F8 #F8EF72 #7BF872
monochromatic
#690BE4 #8A38F5 #AC72F8 #CEACFB #EEE2FE

Accessibility & contrast

On white

3.22
#AC72F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AC72F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72F8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72F8#FFFFFF#000000##000000
##AC72F81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFC
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#9D8CAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac72f8;
/* rgb */ color: rgb(172, 114, 248);
/* oklch */ color: oklch(67.2% 0.195 301.3);
Tailwind
colors: {
  custom: {
    50: '#c89cfb',
    500: '#ac72f8',
    950: '#000000',
  },
}
SCSS
$custom: #ac72f8;
$custom-light: #c89cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72f8",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 265.97,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67155,
    "c": 0.19468,
    "h": 301.3
  },
  "luminance": 0.27583
}

Semantic roles & 50–950 ramp

primary
#AC72F8
secondary
#E5F5D1
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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