#C879DC#C879DC

#C879DC is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.7% C 0.162 H 319.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C879DC
RGBrgb(200, 121, 220)
HSLhsl(288, 59%, 67%)
HSVhsv(288, 45%, 86%)
CMYKcmyk(9.1%, 45%, 0%, 13.7%)
CIE-LABlab(62.61, 46.69, -38.23)
CIE-LCHlch(62.61, 60.35, 320.69°)
OKLaboklab(69.68% 0.1227 -0.1055)
OKLCHoklch(69.68% 0.162 319.3)
XYZxyz(43.5734, 31.1229, 71.4083)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879DC #8DDC79
analogous
#9779DC #C879DC #DC79BF
triadic
#C879DC #DCC879 #79DCC8
tetradic
#C879DC #DC9779 #8DDC79 #79BFDC
square
#C879DC #DC9779 #8DDC79 #79BFDC
split-complementary
#C879DC #BFDC79 #79DC97
monochromatic
#932DAD #B448CF #C879DC #DCAAE9 #F0DAF5

Accessibility & contrast

On white

2.91
#C879DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C879DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879DC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879DC#FFFFFF#000000##000000
##C879DC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992DF
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#C986A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c879dc;
/* rgb */ color: rgb(200, 121, 220);
/* oklch */ color: oklch(69.7% 0.162 319.3);
Tailwind
colors: {
  custom: {
    50: '#daa2e7',
    500: '#c879dc',
    950: '#000000',
  },
}
SCSS
$custom: #c879dc;
$custom-light: #daa2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c879dc",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 287.879,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.16185,
    "h": 319.3
  },
  "luminance": 0.31121
}

Semantic roles & 50–950 ramp

primary
#C879DC
secondary
#CFE8C9
accent
#C61F41
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C879DC

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

Preview Lab → · Contrast checker → · Palette generator →

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