#C877DF#C877DF

#C877DF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.5% C 0.168 H 318.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C877DF
RGBrgb(200, 119, 223)
HSLhsl(287, 62%, 67%)
HSVhsv(287, 47%, 87%)
CMYKcmyk(10.3%, 46.6%, 0%, 12.5%)
CIE-LABlab(62.34, 48.33, -40.33)
CIE-LCHlch(62.34, 62.95, 320.16°)
OKLaboklab(69.53% 0.126 -0.1116)
OKLCHoklch(69.53% 0.168 318.5)
XYZxyz(43.7337, 30.8022, 73.4394)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877DF #8EDF77
analogous
#9477DF #C877DF #DF77C2
triadic
#C877DF #DFC877 #77DFC8
tetradic
#C877DF #DF9477 #8EDF77 #77C2DF
square
#C877DF #DF9477 #8EDF77 #77C2DF
split-complementary
#C877DF #C2DF77 #77DF94
monochromatic
#942AB2 #B445D3 #C877DF #DCA9EB #F0DAF6

Accessibility & contrast

On white

2.93
#C877DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C877DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877DF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877DF#FFFFFF#000000##000000
##C877DF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7C99DC
Tritanopia (blue-blind)
#C885A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c877df;
/* rgb */ color: rgb(200, 119, 223);
/* oklch */ color: oklch(69.5% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#daa0e9',
    500: '#c877df',
    950: '#000000',
  },
}
SCSS
$custom: #c877df;
$custom-light: #daa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c877df",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 286.731,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.16828,
    "h": 318.5
  },
  "luminance": 0.30801
}

Semantic roles & 50–950 ramp

primary
#C877DF
secondary
#D0E9C8
accent
#CA1C42
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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