#A87FCF#A87FCF

#A87FCF is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.7% C 0.123 H 306.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A87FCF
RGBrgb(168, 127, 207)
HSLhsl(271, 45%, 65%)
HSVhsv(271, 39%, 81%)
CMYKcmyk(18.8%, 38.6%, 0%, 18.8%)
CIE-LABlab(59.90, 31.23, -35.43)
CIE-LCHlch(59.90, 47.23, 311.40°)
OKLaboklab(66.68% 0.0738 -0.0982)
OKLCHoklch(66.68% 0.123 306.9)
XYZxyz(34.9981, 28.0088, 62.5819)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FCF #A6CF7F
analogous
#807FCF #A87FCF #CF7FCE
triadic
#A87FCF #CFA87F #7FCFA8
tetradic
#A87FCF #CF807F #A6CF7F #7FCECF
square
#A87FCF #CF807F #A6CF7F #7FCECF
split-complementary
#A87FCF #CECF7F #7FCF80
monochromatic
#6B3A9A #8A52BE #A87FCF #C6ACE0 #E5D8F0

Accessibility & contrast

On white

3.18
#A87FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A87FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FCF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FCF#FFFFFF#000000##000000
##A87FCF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8FD2
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#A38B9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87fcf;
/* rgb */ color: rgb(168, 127, 207);
/* oklch */ color: oklch(66.7% 0.123 306.9);
Tailwind
colors: {
  custom: {
    50: '#c3a4de',
    500: '#a87fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a87fcf;
$custom-light: #c3a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fcf",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 270.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6668,
    "c": 0.12281,
    "h": 306.9
  },
  "luminance": 0.28009
}

Semantic roles & 50–950 ramp

primary
#A87FCF
secondary
#D5E2C8
accent
#B92D71
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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