#C87FBE#C87FBE

#C87FBE is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.3% C 0.122 H 331.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C87FBE
RGBrgb(200, 127, 190)
HSLhsl(308, 40%, 64%)
HSVhsv(308, 37%, 78%)
CMYKcmyk(0%, 36.5%, 5%, 21.6%)
CIE-LABlab(62.66, 37.84, -21.29)
CIE-LCHlch(62.66, 43.42, 330.63°)
OKLaboklab(69.32% 0.1073 -0.0575)
OKLCHoklch(69.32% 0.122 331.8)
XYZxyz(40.7026, 31.1777, 52.5791)
Luminance0.3118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FBE #7FC889
analogous
#AE7FC8 #C87FBE #C87F9A
triadic
#C87FBE #BEC87F #7FBEC8
tetradic
#C87FBE #C8AE7F #7FC889 #7F9AC8
square
#C87FBE #C8AE7F #7FC889 #7F9AC8
split-complementary
#C87FBE #9AC87F #7FC8AE
monochromatic
#8F3D84 #B654A8 #C87FBE #DAAAD4 #EDD5E9

Accessibility & contrast

On white

2.90
#C87FBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C87FBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FBE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FBE#FFFFFF#000000##000000
##C87FBE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#909BBC
Tritanopia (blue-blind)
#CE8396
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c87fbe;
/* rgb */ color: rgb(200, 127, 190);
/* oklch */ color: oklch(69.3% 0.122 331.8);
Tailwind
colors: {
  custom: {
    50: '#daa5d1',
    500: '#c87fbe',
    950: '#000000',
  },
}
SCSS
$custom: #c87fbe;
$custom-light: #daa5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fbe",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 308.219,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69318,
    "c": 0.12171,
    "h": 331.8
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#C87FBE
secondary
#C5DEC8
accent
#B34433
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C87FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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