#C877DB#C877DB

#C877DB is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.3% C 0.164 H 319.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C877DB
RGBrgb(200, 119, 219)
HSLhsl(289, 58%, 66%)
HSVhsv(289, 46%, 86%)
CMYKcmyk(8.7%, 45.7%, 0%, 14.1%)
CIE-LABlab(62.16, 47.54, -38.38)
CIE-LCHlch(62.16, 61.10, 321.09°)
OKLaboklab(69.33% 0.1254 -0.1059)
OKLCHoklch(69.33% 0.164 319.8)
XYZxyz(43.2008, 30.5890, 70.6327)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877DB #8ADB77
analogous
#9677DB #C877DB #DB77BC
triadic
#C877DB #DBC877 #77DBC8
tetradic
#C877DB #DB9677 #8ADB77 #77BCDB
square
#C877DB #DB9677 #8ADB77 #77BCDB
split-complementary
#C877DB #BCDB77 #77DB96
monochromatic
#932DAA #B447CE #C877DB #DCA7E8 #EFD8F5

Accessibility & contrast

On white

2.95
#C877DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C877DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877DB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877DB#FFFFFF#000000##000000
##C877DB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DE
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#C9849F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c877db;
/* rgb */ color: rgb(200, 119, 219);
/* oklch */ color: oklch(69.3% 0.164 319.8);
Tailwind
colors: {
  custom: {
    50: '#daa0e6',
    500: '#c877db',
    950: '#000000',
  },
}
SCSS
$custom: #c877db;
$custom-light: #daa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c877db",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 288.6,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.16414,
    "h": 319.8
  },
  "luminance": 0.30587
}

Semantic roles & 50–950 ramp

primary
#C877DB
secondary
#CDE7C7
accent
#C6203F
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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