#C878EE#C878EE

#C878EE is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.183 H 313.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C878EE
RGBrgb(200, 120, 238)
HSLhsl(281, 78%, 70%)
HSVhsv(281, 50%, 93%)
CMYKcmyk(16%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.25, 50.88, -47.23)
CIE-LCHlch(63.25, 69.42, 317.13°)
OKLaboklab(70.43% 0.1266 -0.1316)
OKLCHoklch(70.43% 0.183 313.9)
XYZxyz(45.9660, 31.8865, 84.6057)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878EE #9EEE78
analogous
#8D78EE #C878EE #EE78D9
triadic
#C878EE #EEC878 #78EEC8
tetradic
#C878EE #EE8D78 #9EEE78 #78D9EE
square
#C878EE #EE8D78 #9EEE78 #78D9EE
split-complementary
#C878EE #D9EE78 #78EE8D
monochromatic
#961AD1 #B242E7 #C878EE #DEAEF5 #F4E4FC

Accessibility & contrast

On white

2.85
#C878EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#C878EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878EE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878EE#FFFFFF#000000##000000
##C878EE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#C58AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c878ee;
/* rgb */ color: rgb(200, 120, 238);
/* oklch */ color: oklch(70.4% 0.183 313.9);
Tailwind
colors: {
  custom: {
    50: '#dba1f4',
    500: '#c878ee',
    950: '#000000',
  },
}
SCSS
$custom: #c878ee;
$custom-light: #dba1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c878ee",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 280.678,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70432,
    "c": 0.18257,
    "h": 313.9
  },
  "luminance": 0.31885
}

Semantic roles & 50–950 ramp

primary
#C878EE
secondary
#DBF1D1
accent
#DA0C4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C878EE

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

Preview Lab → · Contrast checker → · Palette generator →

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