#C878ED#C878ED

#C878ED is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.181 H 314.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C878ED
RGBrgb(200, 120, 237)
HSLhsl(281, 76%, 70%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(15.6%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.20, 50.67, -46.76)
CIE-LCHlch(63.20, 68.95, 317.30°)
OKLaboklab(70.38% 0.1265 -0.1302)
OKLCHoklch(70.38% 0.181 314.2)
XYZxyz(45.8195, 31.8279, 83.8341)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878ED #9DED78
analogous
#8E78ED #C878ED #ED78D7
triadic
#C878ED #EDC878 #78EDC8
tetradic
#C878ED #ED8E78 #9DED78 #78D7ED
square
#C878ED #ED8E78 #9DED78 #78D7ED
split-complementary
#C878ED #D7ED78 #78ED8E
monochromatic
#961CCF #B242E6 #C878ED #DEAEF4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.37
#C878ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878ED
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878ED#FFFFFF#000000##000000
##C878ED1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#769BEA
Tritanopia (blue-blind)
#C58AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c878ed;
/* rgb */ color: rgb(200, 120, 237);
/* oklch */ color: oklch(70.4% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#dba1f3',
    500: '#c878ed',
    950: '#000000',
  },
}
SCSS
$custom: #c878ed;
$custom-light: #dba1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c878ed",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 281.026,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70381,
    "c": 0.18149,
    "h": 314.2
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

primary
#C878ED
secondary
#DAF1D0
accent
#D90D4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C878ED

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

Preview Lab → · Contrast checker → · Palette generator →

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