#C877EC#C877EC

#C877EC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.182 H 314.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C877EC
RGBrgb(200, 119, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 50%, 93%)
CMYKcmyk(15.3%, 49.6%, 0%, 7.5%)
CIE-LABlab(62.95, 50.98, -46.59)
CIE-LCHlch(62.95, 69.06, 317.57°)
OKLaboklab(70.18% 0.1277 -0.1297)
OKLCHoklch(70.18% 0.182 314.6)
XYZxyz(45.5541, 31.5304, 83.0269)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877EC #9BEC77
analogous
#8D77EC #C877EC #EC77D6
triadic
#C877EC #ECC877 #77ECC8
tetradic
#C877EC #EC8D77 #9BEC77 #77D6EC
square
#C877EC #EC8D77 #9BEC77 #77D6EC
split-complementary
#C877EC #D6EC77 #77EC8D
monochromatic
#961DCC #B241E4 #C877EC #DEADF4 #F3E2FB

Accessibility & contrast

On white

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

On black

7.31
#C877EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877EC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877EC#FFFFFF#000000##000000
##C877EC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#C589A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c877ec;
/* rgb */ color: rgb(200, 119, 236);
/* oklch */ color: oklch(70.2% 0.182 314.6);
Tailwind
colors: {
  custom: {
    50: '#dba1f2',
    500: '#c877ec',
    950: '#000000',
  },
}
SCSS
$custom: #c877ec;
$custom-light: #dba1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c877ec",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 281.538,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70181,
    "c": 0.18201,
    "h": 314.6
  },
  "luminance": 0.31529
}

Semantic roles & 50–950 ramp

primary
#C877EC
secondary
#D9F0CF
accent
#D80E4C
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877EC

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

Preview Lab → · Contrast checker → · Palette generator →

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