#C87DB2#C87DB2

#C87DB2 is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.5% C 0.115 H 338.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C87DB2
RGBrgb(200, 125, 178)
HSLhsl(318, 41%, 64%)
HSVhsv(318, 38%, 78%)
CMYKcmyk(0%, 37.5%, 11%, 21.6%)
CIE-LABlab(61.79, 36.82, -15.80)
CIE-LCHlch(61.79, 40.07, 336.78°)
OKLaboklab(68.52% 0.107 -0.0422)
OKLCHoklch(68.52% 0.115 338.5)
XYZxyz(39.1889, 30.1631, 45.8687)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DB2 #7DC893
analogous
#B87DC8 #C87DB2 #C87D8C
triadic
#C87DB2 #B2C87D #7DB2C8
tetradic
#C87DB2 #C8B87D #7DC893 #7D8CC8
square
#C87DB2 #C8B87D #7DC893 #7D8CC8
split-complementary
#C87DB2 #8CC87D #7DC8B8
monochromatic
#8E3C76 #B65299 #C87DB2 #DAA8CB #ECD3E5

Accessibility & contrast

On white

2.99
#C87DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C87DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DB2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DB2#FFFFFF#000000##000000
##C87DB21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#9299B0
Tritanopia (blue-blind)
#D07F90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c87db2;
/* rgb */ color: rgb(200, 125, 178);
/* oklch */ color: oklch(68.5% 0.115 338.5);
Tailwind
colors: {
  custom: {
    50: '#daa4c9',
    500: '#c87db2',
    950: '#000000',
  },
}
SCSS
$custom: #c87db2;
$custom-light: #daa4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87db2",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 317.6,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68524,
    "c": 0.115,
    "h": 338.5
  },
  "luminance": 0.30161
}

Semantic roles & 50–950 ramp

primary
#C87DB2
secondary
#C3DECB
accent
#B45832
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #C87DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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