#AC99FC#AC99FC

#AC99FC is a light, vivid violet. Relative luminance 0.386; OKLCH L 73.9% C 0.141 H 291.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AC99FC
RGBrgb(172, 153, 252)
HSLhsl(252, 94%, 79%)
HSVhsv(252, 39%, 99%)
CMYKcmyk(31.7%, 39.3%, 0%, 1.2%)
CIE-LABlab(68.45, 28.49, -46.91)
CIE-LCHlch(68.45, 54.88, 301.27°)
OKLaboklab(73.92% 0.0514 -0.1314)
OKLCHoklch(73.92% 0.141 291.4)
XYZxyz(45.9707, 38.5804, 97.1013)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC99FC #E9FC99
analogous
#99B8FC #AC99FC #DE99FC
triadic
#AC99FC #FCAC99 #99FCAC
tetradic
#AC99FC #FC99B8 #E9FC99 #99FCDE
square
#AC99FC #FC99B8 #E9FC99 #99FCDE
split-complementary
#AC99FC #FCDE99 #B8FC99
monochromatic
#4B22F9 #7C5EFA #AC99FC #DCD4FE #E7E1FE

Accessibility & contrast

On white

2.41
#AC99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#AC99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC99FC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC99FC#FFFFFF#000000##000000
##AC99FC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#99ABBF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ac99fc;
/* rgb */ color: rgb(172, 153, 252);
/* oklch */ color: oklch(73.9% 0.141 291.4);
Tailwind
colors: {
  custom: {
    50: '#c7b7fe',
    500: '#ac99fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac99fc;
$custom-light: #c7b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac99fc",
  "rgb": {
    "r": 172,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 251.515,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.14107,
    "h": 291.4
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

primary
#AC99FC
secondary
#F0F6D5
accent
#E600B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AC99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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