#C878CA#C878CA

#C878CA is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.7% C 0.145 H 326.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C878CA
RGBrgb(200, 120, 202)
HSLhsl(299, 44%, 63%)
HSVhsv(299, 41%, 79%)
CMYKcmyk(1%, 40.6%, 0%, 20.8%)
CIE-LABlab(61.64, 43.76, -29.64)
CIE-LCHlch(61.64, 52.85, 325.89°)
OKLaboklab(68.7% 0.1207 -0.081)
OKLCHoklch(68.7% 0.145 326.1)
XYZxyz(41.1957, 29.9784, 59.4821)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878CA #7ACA78
analogous
#9F78CA #C878CA #CA78A3
triadic
#C878CA #CAC878 #78CAC8
tetradic
#C878CA #CA9F78 #7ACA78 #78A3CA
square
#C878CA #CA9F78 #7ACA78 #78A3CA
split-complementary
#C878CA #A3CA78 #78CA9F
monochromatic
#8D388F #B64CB9 #C878CA #DAA4DB #ECD0ED

Accessibility & contrast

On white

3.00
#C878CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#C878CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878CA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878CA#FFFFFF#000000##000000
##C878CA1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ECD
Deuteranopia (green-blind)
#8698C7
Tritanopia (blue-blind)
#CC8098
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c878ca;
/* rgb */ color: rgb(200, 120, 202);
/* oklch */ color: oklch(68.7% 0.145 326.1);
Tailwind
colors: {
  custom: {
    50: '#daa1da',
    500: '#c878ca',
    950: '#000000',
  },
}
SCSS
$custom: #c878ca;
$custom-light: #daa1da;
$custom-dark: #000000;
JSON
{
  "hex": "#c878ca",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 298.537,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68702,
    "c": 0.14535,
    "h": 326.1
  },
  "luminance": 0.29977
}

Semantic roles & 50–950 ramp

primary
#C878CA
secondary
#C1DEC0
accent
#B72F32
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #C878CA

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

Preview Lab → · Contrast checker → · Palette generator →

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