#C879DD#C879DD

#C879DD is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.7% C 0.163 H 319.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C879DD
RGBrgb(200, 121, 221)
HSLhsl(287, 60%, 67%)
HSVhsv(287, 45%, 87%)
CMYKcmyk(9.5%, 45.2%, 0%, 13.3%)
CIE-LABlab(62.66, 46.89, -38.72)
CIE-LCHlch(62.66, 60.81, 320.46°)
OKLaboklab(69.73% 0.1229 -0.1069)
OKLCHoklch(69.73% 0.163 319)
XYZxyz(43.7062, 31.1761, 72.1079)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879DD #8EDD79
analogous
#9679DD #C879DD #DD79C0
triadic
#C879DD #DDC879 #79DDC8
tetradic
#C879DD #DD9679 #8EDD79 #79C0DD
square
#C879DD #DD9679 #8EDD79 #79C0DD
split-complementary
#C879DD #C0DD79 #79DD96
monochromatic
#942CAF #B448D1 #C879DD #DCAAE9 #F0DBF6

Accessibility & contrast

On white

2.90
#C879DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C879DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879DD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879DD#FFFFFF#000000##000000
##C879DD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E1
Deuteranopia (green-blind)
#7F9ADA
Tritanopia (blue-blind)
#C986A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c879dd;
/* rgb */ color: rgb(200, 121, 221);
/* oklch */ color: oklch(69.7% 0.163 319.0);
Tailwind
colors: {
  custom: {
    50: '#daa2e8',
    500: '#c879dd',
    950: '#000000',
  },
}
SCSS
$custom: #c879dd;
$custom-light: #daa2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c879dd",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 287.4,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.16289,
    "h": 319
  },
  "luminance": 0.31175
}

Semantic roles & 50–950 ramp

primary
#C879DD
secondary
#D0E9C9
accent
#C71E42
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C879DD

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

Preview Lab → · Contrast checker → · Palette generator →

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