#AC87FF#AC87FF

#AC87FF is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.172 H 295.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AC87FF
RGBrgb(172, 135, 255)
HSLhsl(259, 100%, 76%)
HSVhsv(259, 47%, 100%)
CMYKcmyk(32.5%, 47.1%, 0%, 0%)
CIE-LABlab(64.42, 39.35, -54.92)
CIE-LCHlch(64.42, 67.56, 305.62°)
OKLaboklab(70.93% 0.0752 -0.1547)
OKLCHoklch(70.93% 0.172 295.9)
XYZxyz(43.7227, 33.3180, 98.7158)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87FF #DAFF87
analogous
#879EFF #AC87FF #E887FF
triadic
#AC87FF #FFAC87 #87FFAC
tetradic
#AC87FF #FF879E #DAFF87 #87FFE8
square
#AC87FF #FF879E #DAFF87 #87FFE8
split-complementary
#AC87FF #FFE887 #9EFF87
monochromatic
#570DFF #824AFF #AC87FF #D6C4FF #EAE0FF

Accessibility & contrast

On white

2.74
#AC87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AC87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87FF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87FF#FFFFFF#000000##000000
##AC87FF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#669BFC
Tritanopia (blue-blind)
#999EB7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac87ff;
/* rgb */ color: rgb(172, 135, 255);
/* oklch */ color: oklch(70.9% 0.172 295.9);
Tailwind
colors: {
  custom: {
    50: '#c8aaff',
    500: '#ac87ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac87ff;
$custom-light: #c8aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87ff",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 258.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.17202,
    "h": 295.9
  },
  "luminance": 0.33319
}

Semantic roles & 50–950 ramp

primary
#AC87FF
secondary
#ECF7D4
accent
#E6009F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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