#C877F6#C877F6

#C877F6 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.193 H 311.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C877F6
RGBrgb(200, 119, 246)
HSLhsl(278, 88%, 72%)
HSVhsv(278, 52%, 96%)
CMYKcmyk(18.7%, 51.6%, 0%, 3.5%)
CIE-LABlab(63.45, 53.07, -51.34)
CIE-LCHlch(63.45, 73.84, 315.95°)
OKLaboklab(70.71% 0.1287 -0.1435)
OKLCHoklch(70.71% 0.193 311.9)
XYZxyz(47.0479, 32.1279, 90.8938)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877F6 #A5F677
analogous
#8977F6 #C877F6 #F677E4
triadic
#C877F6 #F6C877 #77F6C8
tetradic
#C877F6 #F68977 #A5F677 #77E4F6
square
#C877F6 #F68977 #A5F677 #77E4F6
split-complementary
#C877F6 #E4F677 #77F689
monochromatic
#970FE4 #B13EF2 #C877F6 #DFB0FA #F3E2FD

Accessibility & contrast

On white

2.83
#C877F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C877F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877F6
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877F6#FFFFFF#000000##000000
##C877F61.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#709BF3
Tritanopia (blue-blind)
#C38CAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877f6;
/* rgb */ color: rgb(200, 119, 246);
/* oklch */ color: oklch(70.7% 0.193 311.9);
Tailwind
colors: {
  custom: {
    50: '#dba1fa',
    500: '#c877f6',
    950: '#000000',
  },
}
SCSS
$custom: #c877f6;
$custom-light: #dba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c877f6",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 278.268,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.19274,
    "h": 311.9
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#C877F6
secondary
#E0F5D4
accent
#E40153
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877F6

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

Preview Lab → · Contrast checker → · Palette generator →

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