#AC81FA#AC81FA

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

Color values

HEX#AC81FA
RGBrgb(172, 129, 250)
HSLhsl(261, 92%, 74%)
HSVhsv(261, 48%, 98%)
CMYKcmyk(31.2%, 48.4%, 0%, 2%)
CIE-LABlab(62.82, 41.44, -54.71)
CIE-LCHlch(62.82, 68.64, 307.14°)
OKLaboklab(69.65% 0.0824 -0.1541)
OKLCHoklch(69.65% 0.175 298.1)
XYZxyz(42.1147, 31.3729, 94.2607)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC81FA #CFFA81
analogous
#8193FA #AC81FA #E881FA
triadic
#AC81FA #FAAC81 #81FAAC
tetradic
#AC81FA #FA8193 #CFFA81 #81FAE8
square
#AC81FA #FA8193 #CFFA81 #81FAE8
split-complementary
#AC81FA #FAE881 #93FA81
monochromatic
#5E0BF5 #8546F8 #AC81FA #D3BCFC #ECE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC81FA#FFFFFF#000000##000000
##AC81FA1.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)
#5898FE
Deuteranopia (green-blind)
#6297F7
Tritanopia (blue-blind)
#9C98B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac81fa;
/* rgb */ color: rgb(172, 129, 250);
/* oklch */ color: oklch(69.6% 0.175 298.1);
Tailwind
colors: {
  custom: {
    50: '#c8a6fc',
    500: '#ac81fa',
    950: '#000000',
  },
}
SCSS
$custom: #ac81fa;
$custom-light: #c8a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac81fa",
  "rgb": {
    "r": 172,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 261.322,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.17474,
    "h": 298.1
  },
  "luminance": 0.31373
}

Semantic roles & 50–950 ramp

primary
#AC81FA
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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