#C877F7#C877F7

#C877F7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.8% C 0.194 H 311.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C877F7
RGBrgb(200, 119, 247)
HSLhsl(278, 89%, 72%)
HSVhsv(278, 52%, 97%)
CMYKcmyk(19%, 51.8%, 0%, 3.1%)
CIE-LABlab(63.50, 53.28, -51.81)
CIE-LCHlch(63.50, 74.32, 315.81°)
OKLaboklab(70.76% 0.1288 -0.1449)
OKLCHoklch(70.76% 0.194 311.6)
XYZxyz(47.2017, 32.1894, 91.7043)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877F7 #A6F777
analogous
#8877F7 #C877F7 #F777E6
triadic
#C877F7 #F7C877 #77F7C8
tetradic
#C877F7 #F78877 #A6F777 #77E6F7
square
#C877F7 #F78877 #A6F777 #77E6F7
split-complementary
#C877F7 #E6F777 #77F788
monochromatic
#970EE6 #B13DF4 #C877F7 #DFB1FA #F3E2FD

Accessibility & contrast

On white

2.82
#C877F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#C877F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877F7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877F7#FFFFFF#000000##000000
##C877F71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#6F9BF4
Tritanopia (blue-blind)
#C38CAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877f7;
/* rgb */ color: rgb(200, 119, 247);
/* oklch */ color: oklch(70.8% 0.194 311.6);
Tailwind
colors: {
  custom: {
    50: '#dba1fa',
    500: '#c877f7',
    950: '#000000',
  },
}
SCSS
$custom: #c877f7;
$custom-light: #dba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c877f7",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 277.969,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.19382,
    "h": 311.6
  },
  "luminance": 0.32188
}

Semantic roles & 50–950 ramp

primary
#C877F7
secondary
#E1F5D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877F7

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

Preview Lab → · Contrast checker → · Palette generator →

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