#AC80FE#AC80FE

#AC80FE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.181 H 297.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AC80FE
RGBrgb(172, 128, 254)
HSLhsl(261, 98%, 75%)
HSVhsv(261, 50%, 100%)
CMYKcmyk(32.3%, 49.6%, 0%, 0.4%)
CIE-LABlab(62.81, 42.98, -56.92)
CIE-LCHlch(62.81, 71.33, 307.05°)
OKLaboklab(69.71% 0.084 -0.1605)
OKLCHoklch(69.71% 0.181 297.6)
XYZxyz(42.6174, 31.3643, 97.5553)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC80FE #D2FE80
analogous
#8093FE #AC80FE #EB80FE
triadic
#AC80FE #FEAC80 #80FEAC
tetradic
#AC80FE #FE8093 #D2FE80 #80FEEB
square
#AC80FE #FE8093 #D2FE80 #80FEEB
split-complementary
#AC80FE #FEEB80 #93FE80
monochromatic
#5D07FD #8443FE #AC80FE #D4BDFE #EBE1FF

Accessibility & contrast

On white

2.89
#AC80FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AC80FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC80FE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC80FE#FFFFFF#000000##000000
##AC80FE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#9A98B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac80fe;
/* rgb */ color: rgb(172, 128, 254);
/* oklch */ color: oklch(69.7% 0.181 297.6);
Tailwind
colors: {
  custom: {
    50: '#c8a6ff',
    500: '#ac80fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac80fe;
$custom-light: #c8a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac80fe",
  "rgb": {
    "r": 172,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 260.952,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69712,
    "c": 0.18121,
    "h": 297.6
  },
  "luminance": 0.31365
}

Semantic roles & 50–950 ramp

primary
#AC80FE
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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