#C877FD#C877FD

#C877FD is a light, highly saturated violet. Relative luminance 0.326; OKLCH L 71.1% C 0.200 H 310.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C877FD
RGBrgb(200, 119, 253)
HSLhsl(276, 97%, 73%)
HSVhsv(276, 53%, 99%)
CMYKcmyk(20.9%, 53%, 0%, 0.8%)
CIE-LABlab(63.81, 54.57, -54.62)
CIE-LCHlch(63.81, 77.20, 314.97°)
OKLaboklab(71.09% 0.1292 -0.1531)
OKLCHoklch(71.09% 0.2 310.2)
XYZxyz(48.1425, 32.5657, 96.6592)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877FD #ACFD77
analogous
#8577FD #C877FD #FD77EF
triadic
#C877FD #FDC877 #77FDC8
tetradic
#C877FD #FD8577 #ACFD77 #77EFFD
square
#C877FD #FD8577 #ACFD77 #77EFFD
split-complementary
#C877FD #EFFD77 #77FD85
monochromatic
#9604F6 #B03BFC #C877FD #E0B3FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.51
#C877FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877FD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877FD#FFFFFF#000000##000000
##C877FD1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#C18EAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c877fd;
/* rgb */ color: rgb(200, 119, 253);
/* oklch */ color: oklch(71.1% 0.200 310.2);
Tailwind
colors: {
  custom: {
    50: '#dba1ff',
    500: '#c877fd',
    950: '#000000',
  },
}
SCSS
$custom: #c877fd;
$custom-light: #dba1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c877fd",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 276.269,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71091,
    "c": 0.20031,
    "h": 310.2
  },
  "luminance": 0.32565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C877FD

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

Preview Lab → · Contrast checker → · Palette generator →

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