#C877E4#C877E4

#C877E4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.8% C 0.174 H 316.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#C877E4
RGBrgb(200, 119, 228)
HSLhsl(285, 67%, 68%)
HSVhsv(285, 48%, 89%)
CMYKcmyk(12.3%, 47.8%, 0%, 10.6%)
CIE-LABlab(62.57, 49.34, -42.75)
CIE-LCHlch(62.57, 65.28, 319.09°)
OKLaboklab(69.77% 0.1267 -0.1186)
OKLCHoklch(69.77% 0.174 316.9)
XYZxyz(44.4178, 31.0758, 77.0422)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877E4 #93E477
analogous
#9177E4 #C877E4 #E477C9
triadic
#C877E4 #E4C877 #77E4C8
tetradic
#C877E4 #E49177 #93E477 #77C9E4
square
#C877E4 #E49177 #93E477 #77C9E4
split-complementary
#C877E4 #C9E477 #77E491
monochromatic
#9525BB #B344DA #C877E4 #DDAAEE #F1DDF8

Accessibility & contrast

On white

2.91
#C877E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#C877E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877E4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877E4#FFFFFF#000000##000000
##C877E41.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#C787A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c877e4;
/* rgb */ color: rgb(200, 119, 228);
/* oklch */ color: oklch(69.8% 0.174 316.9);
Tailwind
colors: {
  custom: {
    50: '#dba0ed',
    500: '#c877e4',
    950: '#000000',
  },
}
SCSS
$custom: #c877e4;
$custom-light: #dba0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c877e4",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 284.587,
    "s": 66.871,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.17353,
    "h": 316.9
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#C877E4
secondary
#D3ECCB
accent
#CF1746
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C877E4

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

Preview Lab → · Contrast checker → · Palette generator →

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