#C877EA#C877EA

#C877EA is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.180 H 315.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C877EA
RGBrgb(200, 119, 234)
HSLhsl(282, 73%, 69%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(14.5%, 49.1%, 0%, 8.2%)
CIE-LABlab(62.86, 50.56, -45.64)
CIE-LCHlch(62.86, 68.11, 317.93°)
OKLaboklab(70.08% 0.1275 -0.1269)
OKLCHoklch(70.08% 0.18 315.1)
XYZxyz(45.2652, 31.4148, 81.5052)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877EA #99EA77
analogous
#8F77EA #C877EA #EA77D3
triadic
#C877EA #EAC877 #77EAC8
tetradic
#C877EA #EA8F77 #99EA77 #77D3EA
square
#C877EA #EA8F77 #99EA77 #77D3EA
split-complementary
#C877EA #D3EA77 #77EA8F
monochromatic
#961FC8 #B342E2 #C877EA #DDACF2 #F3E1FA

Accessibility & contrast

On white

2.88
#C877EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C877EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877EA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877EA#FFFFFF#000000##000000
##C877EA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#779AE7
Tritanopia (blue-blind)
#C688A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c877ea;
/* rgb */ color: rgb(200, 119, 234);
/* oklch */ color: oklch(70.1% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#dba1f1',
    500: '#c877ea',
    950: '#000000',
  },
}
SCSS
$custom: #c877ea;
$custom-light: #dba1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c877ea",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 282.261,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70078,
    "c": 0.17988,
    "h": 315.1
  },
  "luminance": 0.31414
}

Semantic roles & 50–950 ramp

primary
#C877EA
secondary
#D8EFCE
accent
#D5104A
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877EA

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

Preview Lab → · Contrast checker → · Palette generator →

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