#AC86F7#AC86F7

#AC86F7 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.163 H 297.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AC86F7
RGBrgb(172, 134, 247)
HSLhsl(260, 88%, 75%)
HSVhsv(260, 46%, 97%)
CMYKcmyk(30.4%, 45.7%, 0%, 3.1%)
CIE-LABlab(63.78, 37.92, -51.54)
CIE-LCHlch(63.78, 63.98, 306.34°)
OKLaboklab(70.32% 0.0756 -0.1448)
OKLCHoklch(70.32% 0.163 297.6)
XYZxyz(42.3228, 32.5358, 92.0279)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC86F7 #D1F786
analogous
#8699F7 #AC86F7 #E586F7
triadic
#AC86F7 #F7AC86 #86F7AC
tetradic
#AC86F7 #F78699 #D1F786 #86F7E5
square
#AC86F7 #F78699 #D1F786 #86F7E5
split-complementary
#AC86F7 #F7E586 #99F786
monochromatic
#5D13EF #854DF3 #AC86F7 #D3BFFB #EBE2FD

Accessibility & contrast

On white

2.80
#AC86F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AC86F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC86F7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC86F7#FFFFFF#000000##000000
##AC86F71.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#9C9BB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac86f7;
/* rgb */ color: rgb(172, 134, 247);
/* oklch */ color: oklch(70.3% 0.163 297.6);
Tailwind
colors: {
  custom: {
    50: '#c7aafa',
    500: '#ac86f7',
    950: '#000000',
  },
}
SCSS
$custom: #ac86f7;
$custom-light: #c7aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac86f7",
  "rgb": {
    "r": 172,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 260.177,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70318,
    "c": 0.16335,
    "h": 297.6
  },
  "luminance": 0.32536
}

Semantic roles & 50–950 ramp

primary
#AC86F7
secondary
#EBF5D6
accent
#E40198
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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