#AC87CA#AC87CA

#AC87CA is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.3% C 0.104 H 309.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AC87CA
RGBrgb(172, 135, 202)
HSLhsl(273, 39%, 66%)
HSVhsv(273, 33%, 79%)
CMYKcmyk(14.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(61.97, 26.82, -29.37)
CIE-LCHlch(61.97, 39.78, 312.40°)
OKLaboklab(68.27% 0.0656 -0.0808)
OKLCHoklch(68.27% 0.104 309.1)
XYZxyz(36.3360, 30.3632, 59.8122)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87CA #A5CA87
analogous
#8A87CA #AC87CA #CA87C6
triadic
#AC87CA #CAAC87 #87CAAC
tetradic
#AC87CA #CA8A87 #A5CA87 #87C6CA
square
#AC87CA #CA8A87 #A5CA87 #87C6CA
split-complementary
#AC87CA #C6CA87 #87CA8A
monochromatic
#704295 #8F5DB7 #AC87CA #C9B1DD #E7DCEF

Accessibility & contrast

On white

2.97
#AC87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AC87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87CA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87CA#FFFFFF#000000##000000
##AC87CA1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#8396C8
Tritanopia (blue-blind)
#A8909F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac87ca;
/* rgb */ color: rgb(172, 135, 202);
/* oklch */ color: oklch(68.3% 0.104 309.1);
Tailwind
colors: {
  custom: {
    50: '#c5aada',
    500: '#ac87ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac87ca;
$custom-light: #c5aada;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87ca",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 273.134,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.1041,
    "h": 309.1
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#AC87CA
secondary
#D5E1CB
accent
#B2346C
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AC87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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