#C878DB#C878DB

#C878DB is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.5% C 0.162 H 319.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C878DB
RGBrgb(200, 120, 219)
HSLhsl(288, 58%, 66%)
HSVhsv(288, 45%, 86%)
CMYKcmyk(8.7%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.36, 47.02, -38.06)
CIE-LCHlch(62.36, 60.49, 321.01°)
OKLaboklab(69.48% 0.124 -0.105)
OKLCHoklch(69.48% 0.162 319.7)
XYZxyz(43.3205, 30.8283, 70.6726)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878DB #8BDB78
analogous
#9778DB #C878DB #DB78BD
triadic
#C878DB #DBC878 #78DBC8
tetradic
#C878DB #DB9778 #8BDB78 #78BDDB
square
#C878DB #DB9778 #8BDB78 #78BDDB
split-complementary
#C878DB #BDDB78 #78DB97
monochromatic
#932EAB #B448CE #C878DB #DCA8E8 #EFD9F5

Accessibility & contrast

On white

2.93
#C878DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C878DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878DB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878DB#FFFFFF#000000##000000
##C878DB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c878db;
/* rgb */ color: rgb(200, 120, 219);
/* oklch */ color: oklch(69.5% 0.162 319.7);
Tailwind
colors: {
  custom: {
    50: '#daa1e6',
    500: '#c878db',
    950: '#000000',
  },
}
SCSS
$custom: #c878db;
$custom-light: #daa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c878db",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 288.485,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69484,
    "c": 0.16247,
    "h": 319.7
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#C878DB
secondary
#CEE7C7
accent
#C52040
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C878DB

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

Preview Lab → · Contrast checker → · Palette generator →

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