#C877FA#C877FA

#C877FA is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.197 H 310.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C877FA
RGBrgb(200, 119, 250)
HSLhsl(277, 93%, 72%)
HSVhsv(277, 52%, 98%)
CMYKcmyk(20%, 52.4%, 0%, 2%)
CIE-LABlab(63.65, 53.92, -53.22)
CIE-LCHlch(63.65, 75.76, 315.38°)
OKLaboklab(70.93% 0.129 -0.149)
OKLCHoklch(70.93% 0.197 310.9)
XYZxyz(47.6684, 32.3761, 94.1620)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877FA #A9FA77
analogous
#8677FA #C877FA #FA77EB
triadic
#C877FA #FAC877 #77FAC8
tetradic
#C877FA #FA8677 #A9FA77 #77EBFA
square
#C877FA #FA8677 #A9FA77 #77EBFA
split-complementary
#C877FA #EBFA77 #77FA86
monochromatic
#9609EE #B03CF8 #C877FA #E0B2FC #F3E1FE

Accessibility & contrast

On white

2.81
#C877FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C877FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877FA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877FA#FFFFFF#000000##000000
##C877FA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6D9CF7
Tritanopia (blue-blind)
#C28DAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877fa;
/* rgb */ color: rgb(200, 119, 250);
/* oklch */ color: oklch(70.9% 0.197 310.9);
Tailwind
colors: {
  custom: {
    50: '#dba1fc',
    500: '#c877fa',
    950: '#000000',
  },
}
SCSS
$custom: #c877fa;
$custom-light: #dba1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c877fa",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 277.099,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70926,
    "c": 0.19706,
    "h": 310.9
  },
  "luminance": 0.32375
}

Semantic roles & 50–950 ramp

primary
#C877FA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877FA

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

Preview Lab → · Contrast checker → · Palette generator →

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