#C879DF#C879DF

#C879DF is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.8% C 0.165 H 318.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#C879DF
RGBrgb(200, 121, 223)
HSLhsl(286, 61%, 67%)
HSVhsv(286, 46%, 87%)
CMYKcmyk(10.3%, 45.7%, 0%, 12.5%)
CIE-LABlab(62.75, 47.29, -39.69)
CIE-LCHlch(62.75, 61.74, 319.99°)
OKLaboklab(69.83% 0.1232 -0.1097)
OKLCHoklch(69.83% 0.165 318.3)
XYZxyz(43.9743, 31.2833, 73.5196)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879DF #90DF79
analogous
#9579DF #C879DF #DF79C3
triadic
#C879DF #DFC879 #79DFC8
tetradic
#C879DF #DF9579 #90DF79 #79C3DF
square
#C879DF #DF9579 #90DF79 #79C3DF
split-complementary
#C879DF #C3DF79 #79DF95
monochromatic
#942BB3 #B448D3 #C879DF #DCAAEB #F1DCF7

Accessibility & contrast

On white

2.89
#C879DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#C879DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879DF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879DF#FFFFFF#000000##000000
##C879DF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#7E9ADC
Tritanopia (blue-blind)
#C887A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c879df;
/* rgb */ color: rgb(200, 121, 223);
/* oklch */ color: oklch(69.8% 0.165 318.3);
Tailwind
colors: {
  custom: {
    50: '#daa2e9',
    500: '#c879df',
    950: '#000000',
  },
}
SCSS
$custom: #c879df;
$custom-light: #daa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c879df",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 286.471,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69829,
    "c": 0.16499,
    "h": 318.3
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#C879DF
secondary
#D1EACA
accent
#C91C43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C879DF

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

Preview Lab → · Contrast checker → · Palette generator →

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