#C87ABE#C87ABE

#C87ABE is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.5% C 0.131 H 331.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C87ABE
RGBrgb(200, 122, 190)
HSLhsl(308, 41%, 63%)
HSVhsv(308, 39%, 78%)
CMYKcmyk(0%, 39%, 5%, 21.6%)
CIE-LABlab(61.58, 40.51, -22.94)
CIE-LCHlch(61.58, 46.55, 330.48°)
OKLaboklab(68.51% 0.1149 -0.062)
OKLCHoklch(68.51% 0.131 331.6)
XYZxyz(40.0728, 29.9181, 52.3692)
Luminance0.2992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87ABE #7AC884
analogous
#AB7AC8 #C87ABE #C87A97
triadic
#C87ABE #BEC87A #7ABEC8
tetradic
#C87ABE #C8AB7A #7AC884 #7A97C8
square
#C87ABE #C8AB7A #7AC884 #7A97C8
split-complementary
#C87ABE #97C87A #7AC8AB
monochromatic
#8D3A83 #B64FA9 #C87ABE #DAA5D3 #ECD1E8

Accessibility & contrast

On white

3.01
#C87ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C87ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C87ABE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87ABE#FFFFFF#000000##000000
##C87ABE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC0
Deuteranopia (green-blind)
#8C99BC
Tritanopia (blue-blind)
#CE7F93
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c87abe;
/* rgb */ color: rgb(200, 122, 190);
/* oklch */ color: oklch(68.5% 0.131 331.6);
Tailwind
colors: {
  custom: {
    50: '#daa2d1',
    500: '#c87abe',
    950: '#000000',
  },
}
SCSS
$custom: #c87abe;
$custom-light: #daa2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c87abe",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 307.692,
    "s": 41.489,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68508,
    "c": 0.13057,
    "h": 331.6
  },
  "luminance": 0.29916
}

Semantic roles & 50–950 ramp

primary
#C87ABE
secondary
#C1DDC5
accent
#B54231
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C87ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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