#C879DB#C879DB

#C879DB is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.6% C 0.161 H 319.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#C879DB
RGBrgb(200, 121, 219)
HSLhsl(288, 58%, 67%)
HSVhsv(288, 45%, 86%)
CMYKcmyk(8.7%, 44.7%, 0%, 14.1%)
CIE-LABlab(62.57, 46.50, -37.74)
CIE-LCHlch(62.57, 59.88, 320.94°)
OKLaboklab(69.64% 0.1225 -0.1041)
OKLCHoklch(69.64% 0.161 319.6)
XYZxyz(43.4413, 31.0701, 70.7129)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879DB #8CDB79
analogous
#9779DB #C879DB #DB79BD
triadic
#C879DB #DBC879 #79DBC8
tetradic
#C879DB #DB9779 #8CDB79 #79BDDB
square
#C879DB #DB9779 #8CDB79 #79BDDB
split-complementary
#C879DB #BDDB79 #79DB97
monochromatic
#932EAC #B449CE #C879DB #DCA9E8 #F0D9F5

Accessibility & contrast

On white

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

On black

7.21
#C879DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879DB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879DB#FFFFFF#000000##000000
##C879DB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#C986A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c879db;
/* rgb */ color: rgb(200, 121, 219);
/* oklch */ color: oklch(69.6% 0.161 319.6);
Tailwind
colors: {
  custom: {
    50: '#daa2e6',
    500: '#c879db',
    950: '#000000',
  },
}
SCSS
$custom: #c879db;
$custom-light: #daa2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c879db",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 288.367,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.16081,
    "h": 319.6
  },
  "luminance": 0.31069
}

Semantic roles & 50–950 ramp

primary
#C879DB
secondary
#CEE8C8
accent
#C52040
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C879DB

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

Preview Lab → · Contrast checker → · Palette generator →

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