#AC87DA#AC87DA

#AC87DA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.0% C 0.125 H 303.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AC87DA
RGBrgb(172, 135, 218)
HSLhsl(267, 53%, 69%)
HSVhsv(267, 38%, 85%)
CMYKcmyk(21.1%, 38.1%, 0%, 14.5%)
CIE-LABlab(62.64, 30.43, -37.28)
CIE-LCHlch(62.64, 48.12, 309.22°)
OKLaboklab(69.01% 0.0693 -0.1035)
OKLCHoklch(69.01% 0.125 303.8)
XYZxyz(38.3295, 31.1607, 70.3114)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87DA #B5DA87
analogous
#878CDA #AC87DA #D687DA
triadic
#AC87DA #DAAC87 #87DAAC
tetradic
#AC87DA #DA878C #B5DA87 #87DAD6
square
#AC87DA #DA878C #B5DA87 #87DAD6
split-complementary
#AC87DA #DAD687 #8CDA87
monochromatic
#6D36B0 #8C58CC #AC87DA #CCB6E8 #EDE5F7

Accessibility & contrast

On white

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

On black

7.23
#AC87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87DA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87DA#FFFFFF#000000##000000
##AC87DA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#7C97D8
Tritanopia (blue-blind)
#A594A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac87da;
/* rgb */ color: rgb(172, 135, 218);
/* oklch */ color: oklch(69.0% 0.125 303.8);
Tailwind
colors: {
  custom: {
    50: '#c6aae6',
    500: '#ac87da',
    950: '#000000',
  },
}
SCSS
$custom: #ac87da;
$custom-light: #c6aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87da",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 266.747,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6901,
    "c": 0.12454,
    "h": 303.8
  },
  "luminance": 0.31161
}

Semantic roles & 50–950 ramp

primary
#AC87DA
secondary
#E0EAD2
accent
#C0257B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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