#AC87DB#AC87DB

#AC87DB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.126 H 303.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AC87DB
RGBrgb(172, 135, 219)
HSLhsl(266, 54%, 69%)
HSVhsv(266, 38%, 86%)
CMYKcmyk(21.5%, 38.4%, 0%, 14.1%)
CIE-LABlab(62.69, 30.66, -37.77)
CIE-LCHlch(62.69, 48.64, 309.07°)
OKLaboklab(69.06% 0.0695 -0.1049)
OKLCHoklch(69.06% 0.126 303.5)
XYZxyz(38.4607, 31.2132, 71.0026)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87DB #B6DB87
analogous
#878CDB #AC87DB #D687DB
triadic
#AC87DB #DBAC87 #87DBAC
tetradic
#AC87DB #DB878C #B6DB87 #87DBD6
square
#AC87DB #DB878C #B6DB87 #87DBD6
split-complementary
#AC87DB #DBD687 #8CDB87
monochromatic
#6C35B2 #8B58CD #AC87DB #CDB6E9 #EDE5F7

Accessibility & contrast

On white

2.90
#AC87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#AC87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87DB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87DB#FFFFFF#000000##000000
##AC87DB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#A494A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac87db;
/* rgb */ color: rgb(172, 135, 219);
/* oklch */ color: oklch(69.1% 0.126 303.5);
Tailwind
colors: {
  custom: {
    50: '#c6aae6',
    500: '#ac87db',
    950: '#000000',
  },
}
SCSS
$custom: #ac87db;
$custom-light: #c6aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87db",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 266.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69058,
    "c": 0.12583,
    "h": 303.5
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#AC87DB
secondary
#E0EBD3
accent
#C1247C
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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