#C877EE#C877EE

#C877EE is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.184 H 314.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#C877EE
RGBrgb(200, 119, 238)
HSLhsl(281, 78%, 70%)
HSVhsv(281, 50%, 93%)
CMYKcmyk(16%, 50%, 0%, 6.7%)
CIE-LABlab(63.05, 51.39, -47.55)
CIE-LCHlch(63.05, 70.01, 317.23°)
OKLaboklab(70.29% 0.1279 -0.1325)
OKLCHoklch(70.29% 0.184 314)
XYZxyz(45.8463, 31.6472, 84.5658)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877EE #9DEE77
analogous
#8C77EE #C877EE #EE77D9
triadic
#C877EE #EEC877 #77EEC8
tetradic
#C877EE #EE8C77 #9DEE77 #77D9EE
square
#C877EE #EE8C77 #9DEE77 #77D9EE
split-complementary
#C877EE #D9EE77 #77EE8C
monochromatic
#961AD1 #B241E7 #C877EE #DEADF5 #F4E4FC

Accessibility & contrast

On white

2.87
#C877EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#C877EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877EE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877EE#FFFFFF#000000##000000
##C877EE1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F2
Deuteranopia (green-blind)
#749BEB
Tritanopia (blue-blind)
#C58AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c877ee;
/* rgb */ color: rgb(200, 119, 238);
/* oklch */ color: oklch(70.3% 0.184 314.0);
Tailwind
colors: {
  custom: {
    50: '#dba1f4',
    500: '#c877ee',
    950: '#000000',
  },
}
SCSS
$custom: #c877ee;
$custom-light: #dba1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c877ee",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 280.84,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.18415,
    "h": 314
  },
  "luminance": 0.31646
}

Semantic roles & 50–950 ramp

primary
#C877EE
secondary
#DAF1D0
accent
#DA0B4D
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877EE

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

Preview Lab → · Contrast checker → · Palette generator →

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