#AC87F1#AC87F1

#AC87F1 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.154 H 298.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AC87F1
RGBrgb(172, 135, 241)
HSLhsl(261, 79%, 74%)
HSVhsv(261, 44%, 95%)
CMYKcmyk(28.6%, 44%, 0%, 5.5%)
CIE-LABlab(63.71, 35.89, -48.35)
CIE-LCHlch(63.71, 60.21, 306.58°)
OKLaboklab(70.17% 0.0734 -0.1355)
OKLCHoklch(70.17% 0.154 298.4)
XYZxyz(41.5507, 32.4491, 87.2763)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87F1 #CCF187
analogous
#8797F1 #AC87F1 #E187F1
triadic
#AC87F1 #F1AC87 #87F1AC
tetradic
#AC87F1 #F18797 #CCF187 #87F1E1
square
#AC87F1 #F18797 #CCF187 #87F1E1
split-complementary
#AC87F1 #F1E187 #97F187
monochromatic
#611AE3 #8650EB #AC87F1 #D2BEF7 #ECE4FC

Accessibility & contrast

On white

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

On black

7.49
#AC87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87F1
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87F1#FFFFFF#000000##000000
##AC87F11.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF5
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#9E9AB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac87f1;
/* rgb */ color: rgb(172, 135, 241);
/* oklch */ color: oklch(70.2% 0.154 298.4);
Tailwind
colors: {
  custom: {
    50: '#c7aaf6',
    500: '#ac87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ac87f1;
$custom-light: #c7aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87f1",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 260.943,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70168,
    "c": 0.15414,
    "h": 298.4
  },
  "luminance": 0.32449
}

Semantic roles & 50–950 ramp

primary
#AC87F1
secondary
#EAF4D7
accent
#DB0A92
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AC87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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