#C877FE#C877FE

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

Color values

HEX#C877FE
RGBrgb(200, 119, 254)
HSLhsl(276, 99%, 73%)
HSVhsv(276, 53%, 100%)
CMYKcmyk(21.3%, 53.1%, 0%, 0.4%)
CIE-LABlab(63.86, 54.78, -55.08)
CIE-LCHlch(63.86, 77.69, 314.84°)
OKLaboklab(71.15% 0.1293 -0.1544)
OKLCHoklch(71.15% 0.201 309.9)
XYZxyz(48.3023, 32.6296, 97.5003)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877FE #ADFE77
analogous
#8477FE #C877FE #FE77F0
triadic
#C877FE #FEC877 #77FEC8
tetradic
#C877FE #FE8477 #ADFE77 #77F0FE
square
#C877FE #FE8477 #ADFE77 #77F0FE
split-complementary
#C877FE #F0FE77 #77FE84
monochromatic
#9602F9 #AF3AFE #C877FE #E1B4FE #F3E1FF

Accessibility & contrast

On white

2.79
#C877FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C877FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877FE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877FE#FFFFFF#000000##000000
##C877FE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#C18FB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c877fe;
/* rgb */ color: rgb(200, 119, 254);
/* oklch */ color: oklch(71.1% 0.201 309.9);
Tailwind
colors: {
  custom: {
    50: '#dca1ff',
    500: '#c877fe',
    950: '#000000',
  },
}
SCSS
$custom: #c877fe;
$custom-light: #dca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c877fe",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 276,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71146,
    "c": 0.20139,
    "h": 309.9
  },
  "luminance": 0.32629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C877FE

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

Preview Lab → · Contrast checker → · Palette generator →

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