#AC87EA#AC87EA

#AC87EA is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.8% C 0.145 H 299.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AC87EA
RGBrgb(172, 135, 234)
HSLhsl(262, 70%, 72%)
HSVhsv(262, 42%, 92%)
CMYKcmyk(26.5%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.38, 34.19, -45.02)
CIE-LCHlch(63.38, 56.53, 307.22°)
OKLaboklab(69.8% 0.0723 -0.1258)
OKLCHoklch(69.8% 0.145 299.9)
XYZxyz(40.5251, 32.0389, 81.8751)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87EA #C5EA87
analogous
#8794EA #AC87EA #DD87EA
triadic
#AC87EA #EAAC87 #87EAAC
tetradic
#AC87EA #EA8794 #C5EA87 #87EADD
square
#AC87EA #EA8794 #C5EA87 #87EADD
split-complementary
#AC87EA #EADD87 #94EA87
monochromatic
#6525D2 #8853E1 #AC87EA #D0BBF3 #EDE5FA

Accessibility & contrast

On white

2.83
#AC87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AC87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87EA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87EA#FFFFFF#000000##000000
##AC87EA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#7399E7
Tritanopia (blue-blind)
#A098AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ac87ea;
/* rgb */ color: rgb(172, 135, 234);
/* oklch */ color: oklch(69.8% 0.145 299.9);
Tailwind
colors: {
  custom: {
    50: '#c7aaf1',
    500: '#ac87ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac87ea;
$custom-light: #c7aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87ea",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 262.424,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69803,
    "c": 0.14515,
    "h": 299.9
  },
  "luminance": 0.32039
}

Semantic roles & 50–950 ramp

primary
#AC87EA
secondary
#E9F2D9
accent
#D2138B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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