#AC87FD#AC87FD

#AC87FD is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.169 H 296.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AC87FD
RGBrgb(172, 135, 253)
HSLhsl(259, 97%, 76%)
HSVhsv(259, 47%, 99%)
CMYKcmyk(32%, 46.6%, 0%, 0.8%)
CIE-LABlab(64.31, 38.85, -53.99)
CIE-LCHlch(64.31, 66.51, 305.74°)
OKLaboklab(70.82% 0.075 -0.152)
OKLCHoklch(70.82% 0.169 296.3)
XYZxyz(43.4025, 33.1898, 97.0291)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87FD #D8FD87
analogous
#879DFD #AC87FD #E787FD
triadic
#AC87FD #FDAC87 #87FDAC
tetradic
#AC87FD #FD879D #D8FD87 #87FDE7
square
#AC87FD #FD879D #D8FD87 #87FDE7
split-complementary
#AC87FD #FDE787 #9DFD87
monochromatic
#590FFB #824BFC #AC87FD #D6C3FE #EAE1FE

Accessibility & contrast

On white

2.75
#AC87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AC87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87FD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87FD#FFFFFF#000000##000000
##AC87FD1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#9A9DB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac87fd;
/* rgb */ color: rgb(172, 135, 253);
/* oklch */ color: oklch(70.8% 0.169 296.3);
Tailwind
colors: {
  custom: {
    50: '#c8aafe',
    500: '#ac87fd',
    950: '#000000',
  },
}
SCSS
$custom: #ac87fd;
$custom-light: #c8aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87fd",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 258.814,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70816,
    "c": 0.16948,
    "h": 296.3
  },
  "luminance": 0.3319
}

Semantic roles & 50–950 ramp

primary
#AC87FD
secondary
#ECF7D4
accent
#E6009E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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