#AC91FE#AC91FE

#AC91FE is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.6% C 0.156 H 293.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#AC91FE
RGBrgb(172, 145, 254)
HSLhsl(255, 98%, 78%)
HSVhsv(255, 43%, 100%)
CMYKcmyk(32.3%, 42.9%, 0%, 0.4%)
CIE-LABlab(66.65, 33.50, -50.83)
CIE-LCHlch(66.65, 60.87, 303.39°)
OKLaboklab(72.59% 0.0622 -0.1428)
OKLCHoklch(72.59% 0.156 293.5)
XYZxyz(45.0235, 36.1764, 98.3574)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC91FE #E3FE91
analogous
#91ACFE #AC91FE #E291FE
triadic
#AC91FE #FEAC91 #91FEAC
tetradic
#AC91FE #FE91AC #E3FE91 #91FEE2
square
#AC91FE #FE91AC #E3FE91 #91FEE2
split-complementary
#AC91FE #FEE291 #ACFE91
monochromatic
#5018FD #7E54FD #AC91FE #DACEFF #E8E1FF

Accessibility & contrast

On white

2.55
#AC91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#AC91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC91FE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC91FE#FFFFFF#000000##000000
##AC91FE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#99A5BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ac91fe;
/* rgb */ color: rgb(172, 145, 254);
/* oklch */ color: oklch(72.6% 0.156 293.5);
Tailwind
colors: {
  custom: {
    50: '#c7b1ff',
    500: '#ac91fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac91fe;
$custom-light: #c7b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac91fe",
  "rgb": {
    "r": 172,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 254.862,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72594,
    "c": 0.15572,
    "h": 293.5
  },
  "luminance": 0.36177
}

Semantic roles & 50–950 ramp

primary
#AC91FE
secondary
#EEF7D4
accent
#E600AD
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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