#C878CE#C878CE

#C878CE is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.9% C 0.149 H 324.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C878CE
RGBrgb(200, 120, 206)
HSLhsl(296, 47%, 64%)
HSVhsv(296, 42%, 81%)
CMYKcmyk(2.9%, 41.7%, 0%, 19.2%)
CIE-LABlab(61.80, 44.51, -31.64)
CIE-LCHlch(61.80, 54.61, 324.59°)
OKLaboklab(68.88% 0.1216 -0.0866)
OKLCHoklch(68.88% 0.149 324.5)
XYZxyz(41.6754, 30.1703, 62.0088)
Luminance0.3017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878CE #7ECE78
analogous
#9D78CE #C878CE #CE78A9
triadic
#C878CE #CEC878 #78CEC8
tetradic
#C878CE #CE9D78 #7ECE78 #78A9CE
square
#C878CE #CE9D78 #7ECE78 #78A9CE
split-complementary
#C878CE #A9CE78 #78CE9D
monochromatic
#8F3695 #B64BBE #C878CE #DAA5DE #EDD2EF

Accessibility & contrast

On white

2.99
#C878CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C878CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878CE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878CE#FFFFFF#000000##000000
##C878CE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD1
Deuteranopia (green-blind)
#8599CB
Tritanopia (blue-blind)
#CB8199
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c878ce;
/* rgb */ color: rgb(200, 120, 206);
/* oklch */ color: oklch(68.9% 0.149 324.5);
Tailwind
colors: {
  custom: {
    50: '#daa1dd',
    500: '#c878ce',
    950: '#000000',
  },
}
SCSS
$custom: #c878ce;
$custom-light: #daa1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c878ce",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 295.814,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6888,
    "c": 0.14927,
    "h": 324.5
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#C878CE
secondary
#C4E0C2
accent
#BA2C35
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C878CE

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

Preview Lab → · Contrast checker → · Palette generator →

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