#A87CCC#A87CCC

#A87CCC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.0% C 0.124 H 308.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A87CCC
RGBrgb(168, 124, 204)
HSLhsl(273, 44%, 64%)
HSVhsv(273, 39%, 80%)
CMYKcmyk(17.6%, 39.2%, 0%, 20%)
CIE-LABlab(59.07, 32.25, -35.03)
CIE-LCHlch(59.07, 47.62, 312.63°)
OKLaboklab(66.01% 0.0775 -0.097)
OKLCHoklch(66.01% 0.124 308.6)
XYZxyz(34.2531, 27.1001, 60.5414)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CCC #A0CC7C
analogous
#807CCC #A87CCC #CC7CC8
triadic
#A87CCC #CCA87C #7CCCA8
tetradic
#A87CCC #CC807C #A0CC7C #7CC8CC
square
#A87CCC #CC807C #A0CC7C #7CC8CC
split-complementary
#A87CCC #C8CC7C #7CCC80
monochromatic
#6B3A94 #8B50BB #A87CCC #C5A8DD #E3D4EE

Accessibility & contrast

On white

3.27
#A87CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A87CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CCC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CCC#FFFFFF#000000##000000
##A87CCC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#A3889A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87ccc;
/* rgb */ color: rgb(168, 124, 204);
/* oklch */ color: oklch(66.0% 0.124 308.6);
Tailwind
colors: {
  custom: {
    50: '#c3a2dc',
    500: '#a87ccc',
    950: '#000000',
  },
}
SCSS
$custom: #a87ccc;
$custom-light: #c3a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ccc",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 273,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66009,
    "c": 0.12418,
    "h": 308.6
  },
  "luminance": 0.271
}

Semantic roles & 50–950 ramp

primary
#A87CCC
secondary
#D1E0C4
accent
#B72E6C
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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