#C877EB#C877EB

#C877EB is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.181 H 314.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C877EB
RGBrgb(200, 119, 235)
HSLhsl(282, 74%, 69%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(14.9%, 49.4%, 0%, 7.8%)
CIE-LABlab(62.90, 50.77, -46.12)
CIE-LCHlch(62.90, 68.59, 317.75°)
OKLaboklab(70.13% 0.1276 -0.1283)
OKLCHoklch(70.13% 0.181 314.8)
XYZxyz(45.4093, 31.4724, 82.2639)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877EB #9AEB77
analogous
#8E77EB #C877EB #EB77D4
triadic
#C877EB #EBC877 #77EBC8
tetradic
#C877EB #EB8E77 #9AEB77 #77D4EB
square
#C877EB #EB8E77 #9AEB77 #77D4EB
split-complementary
#C877EB #D4EB77 #77EB8E
monochromatic
#961ECA #B242E3 #C877EB #DEACF3 #F3E2FB

Accessibility & contrast

On white

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

On black

7.29
#C877EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877EB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877EB#FFFFFF#000000##000000
##C877EB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#C689A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c877eb;
/* rgb */ color: rgb(200, 119, 235);
/* oklch */ color: oklch(70.1% 0.181 314.8);
Tailwind
colors: {
  custom: {
    50: '#dba1f2',
    500: '#c877eb',
    950: '#000000',
  },
}
SCSS
$custom: #c877eb;
$custom-light: #dba1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c877eb",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 281.897,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7013,
    "c": 0.18095,
    "h": 314.8
  },
  "luminance": 0.31471
}

Semantic roles & 50–950 ramp

primary
#C877EB
secondary
#D8F0CE
accent
#D60F4B
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877EB

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

Preview Lab → · Contrast checker → · Palette generator →

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