#AC72FE#AC72FE

#AC72FE is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.5% C 0.202 H 300.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AC72FE
RGBrgb(172, 114, 254)
HSLhsl(265, 99%, 72%)
HSVhsv(265, 55%, 100%)
CMYKcmyk(32.3%, 55.1%, 0%, 0.4%)
CIE-LABlab(59.85, 50.58, -61.65)
CIE-LCHlch(59.85, 79.74, 309.36°)
OKLaboklab(67.52% 0.1014 -0.1744)
OKLCHoklch(67.52% 0.202 300.2)
XYZxyz(40.9157, 27.9608, 96.9881)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72FE #C4FE72
analogous
#727EFE #AC72FE #F272FE
triadic
#AC72FE #FEAC72 #72FEAC
tetradic
#AC72FE #FE727E #C4FE72 #72FEF2
square
#AC72FE #FE727E #C4FE72 #72FEF2
split-complementary
#AC72FE #FEF272 #7EFE72
monochromatic
#6602F4 #8835FE #AC72FE #D0AFFE #EDE1FF

Accessibility & contrast

On white

3.19
#AC72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AC72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72FE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72FE#FFFFFF#000000##000000
##AC72FE1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#9B8EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac72fe;
/* rgb */ color: rgb(172, 114, 254);
/* oklch */ color: oklch(67.5% 0.202 300.2);
Tailwind
colors: {
  custom: {
    50: '#c99cff',
    500: '#ac72fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac72fe;
$custom-light: #c99cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72fe",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 264.857,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.20173,
    "h": 300.2
  },
  "luminance": 0.27961
}

Semantic roles & 50–950 ramp

primary
#AC72FE
secondary
#E9F7D4
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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