#AC86FC#AC86FC

#AC86FC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.6% C 0.170 H 296.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AC86FC
RGBrgb(172, 134, 252)
HSLhsl(259, 95%, 76%)
HSVhsv(259, 47%, 99%)
CMYKcmyk(31.7%, 46.8%, 0%, 1.2%)
CIE-LABlab(64.04, 39.16, -53.88)
CIE-LCHlch(64.04, 66.60, 306.01°)
OKLaboklab(70.59% 0.0762 -0.1517)
OKLCHoklch(70.59% 0.17 296.7)
XYZxyz(43.1047, 32.8486, 96.1460)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC86FC #D6FC86
analogous
#869BFC #AC86FC #E786FC
triadic
#AC86FC #FCAC86 #86FCAC
tetradic
#AC86FC #FC869B #D6FC86 #86FCE7
square
#AC86FC #FC869B #D6FC86 #86FCE7
split-complementary
#AC86FC #FCE786 #9BFC86
monochromatic
#5A0FF9 #834AFB #AC86FC #D5C2FD #EBE1FE

Accessibility & contrast

On white

2.77
#AC86FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AC86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC86FC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC86FC#FFFFFF#000000##000000
##AC86FC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#9B9CB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac86fc;
/* rgb */ color: rgb(172, 134, 252);
/* oklch */ color: oklch(70.6% 0.170 296.7);
Tailwind
colors: {
  custom: {
    50: '#c8aafe',
    500: '#ac86fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac86fc;
$custom-light: #c8aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac86fc",
  "rgb": {
    "r": 172,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 259.322,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.16971,
    "h": 296.7
  },
  "luminance": 0.32849
}

Semantic roles & 50–950 ramp

primary
#AC86FC
secondary
#ECF6D5
accent
#E6009C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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