#AC87CD#AC87CD

#AC87CD is a light, moderate violet. Relative luminance 0.305; OKLCH L 68.4% C 0.108 H 308.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AC87CD
RGBrgb(172, 135, 205)
HSLhsl(272, 41%, 67%)
HSVhsv(272, 34%, 80%)
CMYKcmyk(16.1%, 34.1%, 0%, 19.6%)
CIE-LABlab(62.09, 27.48, -30.87)
CIE-LCHlch(62.09, 41.33, 311.68°)
OKLaboklab(68.41% 0.0664 -0.0851)
OKLCHoklch(68.41% 0.108 308)
XYZxyz(36.6946, 30.5067, 61.7010)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87CD #A8CD87
analogous
#8987CD #AC87CD #CD87CB
triadic
#AC87CD #CDAC87 #87CDAC
tetradic
#AC87CD #CD8987 #A8CD87 #87CBCD
square
#AC87CD #CD8987 #A8CD87 #87CBCD
split-complementary
#AC87CD #CBCD87 #87CD89
monochromatic
#6F409A #8E5CBB #AC87CD #CAB2DF #E8DDF1

Accessibility & contrast

On white

2.96
#AC87CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AC87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87CD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87CD#FFFFFF#000000##000000
##AC87CD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8197CB
Tritanopia (blue-blind)
#A891A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac87cd;
/* rgb */ color: rgb(172, 135, 205);
/* oklch */ color: oklch(68.4% 0.108 308.0);
Tailwind
colors: {
  custom: {
    50: '#c5aadc',
    500: '#ac87cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac87cd;
$custom-light: #c5aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87cd",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 271.714,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68407,
    "c": 0.1079,
    "h": 308
  },
  "luminance": 0.30506
}

Semantic roles & 50–950 ramp

primary
#AC87CD
secondary
#D7E3CD
accent
#B4316F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AC87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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