#C877ED#C877ED

#C877ED is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.2% C 0.183 H 314.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C877ED
RGBrgb(200, 119, 237)
HSLhsl(281, 77%, 70%)
HSVhsv(281, 50%, 93%)
CMYKcmyk(15.6%, 49.8%, 0%, 7.1%)
CIE-LABlab(63.00, 51.18, -47.07)
CIE-LCHlch(63.00, 69.54, 317.40°)
OKLaboklab(70.23% 0.1278 -0.1311)
OKLCHoklch(70.23% 0.183 314.3)
XYZxyz(45.6998, 31.5886, 83.7942)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877ED #9CED77
analogous
#8D77ED #C877ED #ED77D7
triadic
#C877ED #EDC877 #77EDC8
tetradic
#C877ED #ED8D77 #9CED77 #77D7ED
square
#C877ED #ED8D77 #9CED77 #77D7ED
split-complementary
#C877ED #D7ED77 #77ED8D
monochromatic
#961BCE #B241E6 #C877ED #DEADF4 #F4E3FB

Accessibility & contrast

On white

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

On black

7.32
#C877ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877ED
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877ED#FFFFFF#000000##000000
##C877ED1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#C589A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c877ed;
/* rgb */ color: rgb(200, 119, 237);
/* oklch */ color: oklch(70.2% 0.183 314.3);
Tailwind
colors: {
  custom: {
    50: '#dba1f3',
    500: '#c877ed',
    950: '#000000',
  },
}
SCSS
$custom: #c877ed;
$custom-light: #dba1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c877ed",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 281.186,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.18308,
    "h": 314.3
  },
  "luminance": 0.31587
}

Semantic roles & 50–950 ramp

primary
#C877ED
secondary
#DAF1CF
accent
#D90D4D
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877ED

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

Preview Lab → · Contrast checker → · Palette generator →

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