#C877DD#C877DD

#C877DD is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.4% C 0.166 H 319.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C877DD
RGBrgb(200, 119, 221)
HSLhsl(288, 60%, 67%)
HSVhsv(288, 46%, 87%)
CMYKcmyk(9.5%, 46.2%, 0%, 13.3%)
CIE-LABlab(62.25, 47.94, -39.35)
CIE-LCHlch(62.25, 62.02, 320.62°)
OKLaboklab(69.43% 0.1257 -0.1088)
OKLCHoklch(69.43% 0.166 319.1)
XYZxyz(43.4657, 30.6950, 72.0277)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877DD #8CDD77
analogous
#9577DD #C877DD #DD77BF
triadic
#C877DD #DDC877 #77DDC8
tetradic
#C877DD #DD9577 #8CDD77 #77BFDD
square
#C877DD #DD9577 #8CDD77 #77BFDD
split-complementary
#C877DD #BFDD77 #77DD95
monochromatic
#932CAE #B446D1 #C877DD #DCA8E9 #F0D9F5

Accessibility & contrast

On white

2.94
#C877DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C877DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877DD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877DD#FFFFFF#000000##000000
##C877DD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E1
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#C985A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c877dd;
/* rgb */ color: rgb(200, 119, 221);
/* oklch */ color: oklch(69.4% 0.166 319.1);
Tailwind
colors: {
  custom: {
    50: '#daa0e8',
    500: '#c877dd',
    950: '#000000',
  },
}
SCSS
$custom: #c877dd;
$custom-light: #daa0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c877dd",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 287.647,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69429,
    "c": 0.16621,
    "h": 319.1
  },
  "luminance": 0.30693
}

Semantic roles & 50–950 ramp

primary
#C877DD
secondary
#CEE8C7
accent
#C81E41
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C877DD

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

Preview Lab → · Contrast checker → · Palette generator →

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