#C877FB#C877FB

#C877FB is a light, vivid violet. Relative luminance 0.324; OKLCH L 71.0% C 0.198 H 310.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C877FB
RGBrgb(200, 119, 251)
HSLhsl(277, 94%, 73%)
HSVhsv(277, 53%, 98%)
CMYKcmyk(20.3%, 52.6%, 0%, 1.6%)
CIE-LABlab(63.70, 54.14, -53.68)
CIE-LCHlch(63.70, 76.24, 315.24°)
OKLaboklab(70.98% 0.1291 -0.1503)
OKLCHoklch(70.98% 0.198 310.7)
XYZxyz(47.8256, 32.4390, 94.9900)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877FB #AAFB77
analogous
#8677FB #C877FB #FB77EC
triadic
#C877FB #FBC877 #77FBC8
tetradic
#C877FB #FB8677 #AAFB77 #77ECFB
square
#C877FB #FB8677 #AAFB77 #77ECFB
split-complementary
#C877FB #ECFB77 #77FB86
monochromatic
#9607F1 #B03CF9 #C877FB #E0B2FD #F3E1FE

Accessibility & contrast

On white

2.80
#C877FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#C877FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877FB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877FB#FFFFFF#000000##000000
##C877FB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#C28EAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877fb;
/* rgb */ color: rgb(200, 119, 251);
/* oklch */ color: oklch(71.0% 0.198 310.7);
Tailwind
colors: {
  custom: {
    50: '#dba1fd',
    500: '#c877fb',
    950: '#000000',
  },
}
SCSS
$custom: #c877fb;
$custom-light: #dba1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c877fb",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 276.818,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70981,
    "c": 0.19814,
    "h": 310.7
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#C877FB
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C877FB

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

Preview Lab → · Contrast checker → · Palette generator →

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