#C877EF#C877EF

#C877EF is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.185 H 313.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C877EF
RGBrgb(200, 119, 239)
HSLhsl(281, 79%, 70%)
HSVhsv(281, 50%, 94%)
CMYKcmyk(16.3%, 50.2%, 0%, 6.3%)
CIE-LABlab(63.10, 51.60, -48.02)
CIE-LCHlch(63.10, 70.49, 317.06°)
OKLaboklab(70.34% 0.128 -0.1338)
OKLCHoklch(70.34% 0.185 313.7)
XYZxyz(45.9937, 31.7062, 85.3417)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877EF #9EEF77
analogous
#8C77EF #C877EF #EF77DA
triadic
#C877EF #EFC877 #77EFC8
tetradic
#C877EF #EF8C77 #9EEF77 #77DAEF
square
#C877EF #EF8C77 #9EEF77 #77DAEF
split-complementary
#C877EF #DAEF77 #77EF8C
monochromatic
#9619D3 #B240E9 #C877EF #DEAEF5 #F4E4FC

Accessibility & contrast

On white

2.86
#C877EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C877EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877EF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877EF#FFFFFF#000000##000000
##C877EF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c877ef;
/* rgb */ color: rgb(200, 119, 239);
/* oklch */ color: oklch(70.3% 0.185 313.7);
Tailwind
colors: {
  custom: {
    50: '#dba1f5',
    500: '#c877ef',
    950: '#000000',
  },
}
SCSS
$custom: #c877ef;
$custom-light: #dba1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c877ef",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 280.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.18522,
    "h": 313.7
  },
  "luminance": 0.31705
}

Semantic roles & 50–950 ramp

primary
#C877EF
secondary
#DBF2D0
accent
#DB0A4E
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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