#C878EA#C878EA

#C878EA is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.2% C 0.178 H 315.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#C878EA
RGBrgb(200, 120, 234)
HSLhsl(282, 73%, 69%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(14.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.06, 50.05, -45.32)
CIE-LCHlch(63.06, 67.52, 317.84°)
OKLaboklab(70.23% 0.1261 -0.126)
OKLCHoklch(70.23% 0.178 315)
XYZxyz(45.3848, 31.6541, 81.5450)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878EA #9AEA78
analogous
#8F78EA #C878EA #EA78D3
triadic
#C878EA #EAC878 #78EAC8
tetradic
#C878EA #EA8F78 #9AEA78 #78D3EA
square
#C878EA #EA8F78 #9AEA78 #78D3EA
split-complementary
#C878EA #D3EA78 #78EA8F
monochromatic
#961FC8 #B243E2 #C878EA #DEADF2 #F3E2FA

Accessibility & contrast

On white

2.86
#C878EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#C878EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878EA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878EA#FFFFFF#000000##000000
##C878EA1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#C689A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c878ea;
/* rgb */ color: rgb(200, 120, 234);
/* oklch */ color: oklch(70.2% 0.178 315.0);
Tailwind
colors: {
  custom: {
    50: '#dba1f1',
    500: '#c878ea',
    950: '#000000',
  },
}
SCSS
$custom: #c878ea;
$custom-light: #dba1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c878ea",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 282.105,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70226,
    "c": 0.17828,
    "h": 315
  },
  "luminance": 0.31653
}

Semantic roles & 50–950 ramp

primary
#C878EA
secondary
#D8EFCE
accent
#D5104B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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