#C878CF#C878CF

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

Color values

HEX#C878CF
RGBrgb(200, 120, 207)
HSLhsl(295, 48%, 64%)
HSVhsv(295, 42%, 81%)
CMYKcmyk(3.4%, 42%, 0%, 18.8%)
CIE-LABlab(61.84, 44.70, -32.14)
CIE-LCHlch(61.84, 55.05, 324.28°)
OKLaboklab(68.93% 0.1218 -0.0881)
OKLCHoklch(68.93% 0.15 324.1)
XYZxyz(41.7973, 30.2190, 62.6506)
Luminance0.3022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878CF #7FCF78
analogous
#9D78CF #C878CF #CF78AB
triadic
#C878CF #CFC878 #78CFC8
tetradic
#C878CF #CF9D78 #7FCF78 #78ABCF
square
#C878CF #CF9D78 #7FCF78 #78ABCF
split-complementary
#C878CF #ABCF78 #78CF9D
monochromatic
#8F3697 #B64BBF #C878CF #DAA5DF #EDD2EF

Accessibility & contrast

On white

2.98
#C878CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C878CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878CF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878CF#FFFFFF#000000##000000
##C878CF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD2
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#CB829A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c878cf;
/* rgb */ color: rgb(200, 120, 207);
/* oklch */ color: oklch(68.9% 0.150 324.1);
Tailwind
colors: {
  custom: {
    50: '#daa1de',
    500: '#c878cf',
    950: '#000000',
  },
}
SCSS
$custom: #c878cf;
$custom-light: #daa1de;
$custom-dark: #000000;
JSON
{
  "hex": "#c878cf",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 295.172,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68926,
    "c": 0.15026,
    "h": 324.1
  },
  "luminance": 0.30217
}

Semantic roles & 50–950 ramp

primary
#C878CF
secondary
#C5E1C2
accent
#BB2B36
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C878CF

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

Preview Lab → · Contrast checker → · Palette generator →

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