#AC87E1#AC87E1

#AC87E1 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.3% C 0.134 H 302.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#AC87E1
RGBrgb(172, 135, 225)
HSLhsl(265, 60%, 71%)
HSVhsv(265, 40%, 88%)
CMYKcmyk(23.6%, 40%, 0%, 11.8%)
CIE-LABlab(62.96, 32.05, -40.68)
CIE-LCHlch(62.96, 51.80, 308.23°)
OKLaboklab(69.35% 0.0707 -0.1133)
OKLCHoklch(69.35% 0.134 302)
XYZxyz(39.2649, 31.5348, 75.2378)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87E1 #BCE187
analogous
#878FE1 #AC87E1 #D987E1
triadic
#AC87E1 #E1AC87 #87E1AC
tetradic
#AC87E1 #E1878F #BCE187 #87E1D9
square
#AC87E1 #E1878F #BCE187 #87E1D9
split-complementary
#AC87E1 #E1D987 #8FE187
monochromatic
#6A30BE #8A56D5 #AC87E1 #CEB8ED #EEE7F9

Accessibility & contrast

On white

2.87
#AC87E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#AC87E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87E1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87E1#FFFFFF#000000##000000
##AC87E11.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E4
Deuteranopia (green-blind)
#7898DF
Tritanopia (blue-blind)
#A396A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac87e1;
/* rgb */ color: rgb(172, 135, 225);
/* oklch */ color: oklch(69.3% 0.134 302.0);
Tailwind
colors: {
  custom: {
    50: '#c6aaeb',
    500: '#ac87e1',
    950: '#000000',
  },
}
SCSS
$custom: #ac87e1;
$custom-light: #c6aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87e1",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 264.667,
    "s": 60,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6935,
    "c": 0.13356,
    "h": 302
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#AC87E1
secondary
#E4EED6
accent
#C81E82
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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