#C878DA#C878DA

#C878DA is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.4% C 0.161 H 320.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C878DA
RGBrgb(200, 120, 218)
HSLhsl(289, 57%, 66%)
HSVhsv(289, 45%, 85%)
CMYKcmyk(8.3%, 45%, 0%, 14.5%)
CIE-LABlab(62.32, 46.82, -37.57)
CIE-LCHlch(62.32, 60.03, 321.26°)
OKLaboklab(69.44% 0.1238 -0.1036)
OKLCHoklch(69.44% 0.161 320.1)
XYZxyz(43.1892, 30.7758, 69.9814)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878DA #8ADA78
analogous
#9778DA #C878DA #DA78BB
triadic
#C878DA #DAC878 #78DAC8
tetradic
#C878DA #DA9778 #8ADA78 #78BBDA
square
#C878DA #DA9778 #8ADA78 #78BBDA
split-complementary
#C878DA #BBDA78 #78DA97
monochromatic
#932EA9 #B448CD #C878DA #DCA8E7 #EFD8F4

Accessibility & contrast

On white

2.94
#C878DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C878DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878DA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878DA#FFFFFF#000000##000000
##C878DA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DD
Deuteranopia (green-blind)
#7F9AD7
Tritanopia (blue-blind)
#C9859F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c878da;
/* rgb */ color: rgb(200, 120, 218);
/* oklch */ color: oklch(69.4% 0.161 320.1);
Tailwind
colors: {
  custom: {
    50: '#daa1e6',
    500: '#c878da',
    950: '#000000',
  },
}
SCSS
$custom: #c878da;
$custom-light: #daa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c878da",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 288.98,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69436,
    "c": 0.16143,
    "h": 320.1
  },
  "luminance": 0.30774
}

Semantic roles & 50–950 ramp

primary
#C878DA
secondary
#CDE7C7
accent
#C5213F
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C878DA

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

Preview Lab → · Contrast checker → · Palette generator →

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