#AC87F4#AC87F4

#AC87F4 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.158 H 297.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AC87F4
RGBrgb(172, 135, 244)
HSLhsl(260, 83%, 74%)
HSVhsv(260, 45%, 96%)
CMYKcmyk(29.5%, 44.7%, 0%, 4.3%)
CIE-LABlab(63.86, 36.62, -49.77)
CIE-LCHlch(63.86, 61.79, 306.35°)
OKLaboklab(70.33% 0.0739 -0.1397)
OKLCHoklch(70.33% 0.158 297.9)
XYZxyz(42.0025, 32.6298, 89.6557)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87F4 #CFF487
analogous
#8799F4 #AC87F4 #E387F4
triadic
#AC87F4 #F4AC87 #87F4AC
tetradic
#AC87F4 #F48799 #CFF487 #87F4E3
square
#AC87F4 #F48799 #CFF487 #87F4E3
split-complementary
#AC87F4 #F4E387 #99F487
monochromatic
#5E17EA #854FEF #AC87F4 #D3BFF9 #ECE3FC

Accessibility & contrast

On white

2.79
#AC87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AC87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87F4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87F4#FFFFFF#000000##000000
##AC87F41.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#6D9AF1
Tritanopia (blue-blind)
#9D9BB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac87f4;
/* rgb */ color: rgb(172, 135, 244);
/* oklch */ color: oklch(70.3% 0.158 297.9);
Tailwind
colors: {
  custom: {
    50: '#c7aaf8',
    500: '#ac87f4',
    950: '#000000',
  },
}
SCSS
$custom: #ac87f4;
$custom-light: #c7aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87f4",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 260.367,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70327,
    "c": 0.15798,
    "h": 297.9
  },
  "luminance": 0.3263
}

Semantic roles & 50–950 ramp

primary
#AC87F4
secondary
#EAF4D7
accent
#E00696
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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