#C877FC#C877FC

#C877FC is a light, vivid violet. Relative luminance 0.325; OKLCH L 71.0% C 0.199 H 310.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C877FC
RGBrgb(200, 119, 252)
HSLhsl(277, 96%, 73%)
HSVhsv(277, 53%, 99%)
CMYKcmyk(20.6%, 52.8%, 0%, 1.2%)
CIE-LABlab(63.76, 54.35, -54.15)
CIE-LCHlch(63.76, 76.72, 315.11°)
OKLaboklab(71.04% 0.1291 -0.1517)
OKLCHoklch(71.04% 0.199 310.4)
XYZxyz(47.9837, 32.5022, 95.8224)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877FC #ABFC77
analogous
#8577FC #C877FC #FC77EE
triadic
#C877FC #FCC877 #77FCC8
tetradic
#C877FC #FC8577 #ABFC77 #77EEFC
square
#C877FC #FC8577 #ABFC77 #77EEFC
split-complementary
#C877FC #EEFC77 #77FC85
monochromatic
#9605F3 #B03BFB #C877FC #E0B3FD #F3E1FE

Accessibility & contrast

On white

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

On black

7.50
#C877FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877FC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877FC#FFFFFF#000000##000000
##C877FC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6C9CF9
Tritanopia (blue-blind)
#C28EAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877fc;
/* rgb */ color: rgb(200, 119, 252);
/* oklch */ color: oklch(71.0% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#dba1fe',
    500: '#c877fc',
    950: '#000000',
  },
}
SCSS
$custom: #c877fc;
$custom-light: #dba1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c877fc",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 276.541,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71036,
    "c": 0.19922,
    "h": 310.4
  },
  "luminance": 0.32501
}

Semantic roles & 50–950 ramp

primary
#C877FC
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C877FC

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

Preview Lab → · Contrast checker → · Palette generator →

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