#C87FBD#C87FBD

#C87FBD is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.3% C 0.121 H 332.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C87FBD
RGBrgb(200, 127, 189)
HSLhsl(309, 40%, 64%)
HSVhsv(309, 37%, 78%)
CMYKcmyk(0%, 36.5%, 5.5%, 21.6%)
CIE-LABlab(62.62, 37.66, -20.78)
CIE-LCHlch(62.62, 43.01, 331.11°)
OKLaboklab(69.28% 0.107 -0.056)
OKLCHoklch(69.28% 0.121 332.4)
XYZxyz(40.5937, 31.1342, 52.0055)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FBD #7FC88A
analogous
#AF7FC8 #C87FBD #C87F99
triadic
#C87FBD #BDC87F #7FBDC8
tetradic
#C87FBD #C8AF7F #7FC88A #7F99C8
square
#C87FBD #C8AF7F #7FC88A #7F99C8
split-complementary
#C87FBD #99C87F #7FC8AF
monochromatic
#8F3D83 #B654A7 #C87FBD #DAAAD3 #EDD5E9

Accessibility & contrast

On white

2.91
#C87FBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C87FBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FBD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FBD#FFFFFF#000000##000000
##C87FBD1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E91BF
Deuteranopia (green-blind)
#909BBB
Tritanopia (blue-blind)
#CE8396
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c87fbd;
/* rgb */ color: rgb(200, 127, 189);
/* oklch */ color: oklch(69.3% 0.121 332.4);
Tailwind
colors: {
  custom: {
    50: '#daa5d1',
    500: '#c87fbd',
    950: '#000000',
  },
}
SCSS
$custom: #c87fbd;
$custom-light: #daa5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fbd",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 309.041,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69278,
    "c": 0.12081,
    "h": 332.4
  },
  "luminance": 0.31132
}

Semantic roles & 50–950 ramp

primary
#C87FBD
secondary
#C5DEC9
accent
#B34633
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C87FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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