#C877DE#C877DE

#C877DE is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.5% C 0.167 H 318.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C877DE
RGBrgb(200, 119, 222)
HSLhsl(287, 61%, 67%)
HSVhsv(287, 46%, 87%)
CMYKcmyk(9.9%, 46.4%, 0%, 12.9%)
CIE-LABlab(62.29, 48.13, -39.84)
CIE-LCHlch(62.29, 62.48, 320.39°)
OKLaboklab(69.48% 0.1258 -0.1102)
OKLCHoklch(69.48% 0.167 318.8)
XYZxyz(43.5993, 30.7484, 72.7315)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877DE #8DDE77
analogous
#9477DE #C877DE #DE77C1
triadic
#C877DE #DEC877 #77DEC8
tetradic
#C877DE #DE9477 #8DDE77 #77C1DE
square
#C877DE #DE9477 #8DDE77 #77C1DE
split-complementary
#C877DE #C1DE77 #77DE94
monochromatic
#932BB0 #B446D2 #C877DE #DCA8EA #F0DAF6

Accessibility & contrast

On white

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

On black

7.15
#C877DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877DE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877DE#FFFFFF#000000##000000
##C877DE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E2
Deuteranopia (green-blind)
#7D99DB
Tritanopia (blue-blind)
#C885A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c877de;
/* rgb */ color: rgb(200, 119, 222);
/* oklch */ color: oklch(69.5% 0.167 318.8);
Tailwind
colors: {
  custom: {
    50: '#daa0e8',
    500: '#c877de',
    950: '#000000',
  },
}
SCSS
$custom: #c877de;
$custom-light: #daa0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c877de",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 222
  },
  "hsl": {
    "h": 287.184,
    "s": 60.947,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69478,
    "c": 0.16724,
    "h": 318.8
  },
  "luminance": 0.30747
}

Semantic roles & 50–950 ramp

primary
#C877DE
secondary
#CFE9C8
accent
#C91D42
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C877DE

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

Preview Lab → · Contrast checker → · Palette generator →

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