#A87FCB#A87FCB

#A87FCB is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.5% C 0.118 H 308.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A87FCB
RGBrgb(168, 127, 203)
HSLhsl(272, 42%, 65%)
HSVhsv(272, 37%, 80%)
CMYKcmyk(17.2%, 37.4%, 0%, 20.4%)
CIE-LABlab(59.72, 30.33, -33.45)
CIE-LCHlch(59.72, 45.15, 312.20°)
OKLaboklab(66.49% 0.0729 -0.0925)
OKLCHoklch(66.49% 0.118 308.3)
XYZxyz(34.5153, 27.8157, 60.0390)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FCB #A2CB7F
analogous
#827FCB #A87FCB #CB7FC8
triadic
#A87FCB #CBA87F #7FCBA8
tetradic
#A87FCB #CB827F #A2CB7F #7FC8CB
square
#A87FCB #CB827F #A2CB7F #7FC8CB
split-complementary
#A87FCB #C8CB7F #7FCB82
monochromatic
#6B3C94 #8A53B9 #A87FCB #C6ABDD #E3D6EE

Accessibility & contrast

On white

3.20
#A87FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A87FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FCB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FCB#FFFFFF#000000##000000
##A87FCB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECE
Deuteranopia (green-blind)
#7990C9
Tritanopia (blue-blind)
#A38A9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87fcb;
/* rgb */ color: rgb(168, 127, 203);
/* oklch */ color: oklch(66.5% 0.118 308.3);
Tailwind
colors: {
  custom: {
    50: '#c3a4db',
    500: '#a87fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a87fcb;
$custom-light: #c3a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fcb",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 272.368,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.11778,
    "h": 308.3
  },
  "luminance": 0.27815
}

Semantic roles & 50–950 ramp

primary
#A87FCB
secondary
#D2E0C6
accent
#B5306D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A87FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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