#C87FCE#C87FCE

#C87FCE is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.0% C 0.137 H 324.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C87FCE
RGBrgb(200, 127, 206)
HSLhsl(295, 45%, 65%)
HSVhsv(295, 38%, 81%)
CMYKcmyk(2.9%, 38.3%, 0%, 19.2%)
CIE-LABlab(63.27, 40.79, -29.36)
CIE-LCHlch(63.27, 50.26, 324.26°)
OKLaboklab(69.99% 0.1113 -0.0802)
OKLCHoklch(69.99% 0.137 324.2)
XYZxyz(42.5483, 31.9160, 62.2997)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FCE #85CE7F
analogous
#A07FCE #C87FCE #CE7FAC
triadic
#C87FCE #CEC87F #7FCEC8
tetradic
#C87FCE #CEA07F #85CE7F #7FACCE
square
#C87FCE #CEA07F #85CE7F #7FACCE
split-complementary
#C87FCE #ACCE7F #7FCEA0
monochromatic
#913A98 #B553BD #C87FCE #DBABDF #EED8F0

Accessibility & contrast

On white

2.84
#C87FCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#C87FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FCE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FCE#FFFFFF#000000##000000
##C87FCE1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D1
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#CB879D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c87fce;
/* rgb */ color: rgb(200, 127, 206);
/* oklch */ color: oklch(70.0% 0.137 324.2);
Tailwind
colors: {
  custom: {
    50: '#daa5dd',
    500: '#c87fce',
    950: '#000000',
  },
}
SCSS
$custom: #c87fce;
$custom-light: #daa5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fce",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 295.443,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69985,
    "c": 0.13717,
    "h": 324.2
  },
  "luminance": 0.31914
}

Semantic roles & 50–950 ramp

primary
#C87FCE
secondary
#C9E2C7
accent
#B82E38
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C87FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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