#AC87F0#AC87F0

#AC87F0 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.153 H 298.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AC87F0
RGBrgb(172, 135, 240)
HSLhsl(261, 78%, 74%)
HSVhsv(261, 44%, 94%)
CMYKcmyk(28.3%, 43.8%, 0%, 5.9%)
CIE-LABlab(63.66, 35.64, -47.88)
CIE-LCHlch(63.66, 59.69, 306.67°)
OKLaboklab(70.12% 0.0733 -0.1341)
OKLCHoklch(70.12% 0.153 298.6)
XYZxyz(41.4017, 32.3895, 86.4918)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87F0 #CBF087
analogous
#8796F0 #AC87F0 #E087F0
triadic
#AC87F0 #F0AC87 #87F0AC
tetradic
#AC87F0 #F08796 #CBF087 #87F0E0
square
#AC87F0 #F08796 #CBF087 #87F0E0
split-complementary
#AC87F0 #F0E087 #96F087
monochromatic
#611CE1 #8651E9 #AC87F0 #D2BDF7 #ECE4FC

Accessibility & contrast

On white

2.81
#AC87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AC87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87F0
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87F0#FFFFFF#000000##000000
##AC87F01.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF4
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#9E9AB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac87f0;
/* rgb */ color: rgb(172, 135, 240);
/* oklch */ color: oklch(70.1% 0.153 298.6);
Tailwind
colors: {
  custom: {
    50: '#c7aaf5',
    500: '#ac87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ac87f0;
$custom-light: #c7aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87f0",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 261.143,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.15286,
    "h": 298.6
  },
  "luminance": 0.3239
}

Semantic roles & 50–950 ramp

primary
#AC87F0
secondary
#EAF3D8
accent
#DA0B91
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AC87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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