#C877F9#C877F9

#C877F9 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.9% C 0.196 H 311.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C877F9
RGBrgb(200, 119, 249)
HSLhsl(277, 92%, 72%)
HSVhsv(277, 52%, 98%)
CMYKcmyk(19.7%, 52.2%, 0%, 2.4%)
CIE-LABlab(63.60, 53.71, -52.75)
CIE-LCHlch(63.60, 75.28, 315.52°)
OKLaboklab(70.87% 0.1289 -0.1476)
OKLCHoklch(70.87% 0.196 311.1)
XYZxyz(47.5120, 32.3135, 93.3384)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877F9 #A8F977
analogous
#8777F9 #C877F9 #F977E9
triadic
#C877F9 #F9C877 #77F9C8
tetradic
#C877F9 #F98777 #A8F977 #77E9F9
square
#C877F9 #F98777 #A8F977 #77E9F9
split-complementary
#C877F9 #E9F977 #77F987
monochromatic
#960AEB #B03CF6 #C877F9 #E0B2FC #F3E2FE

Accessibility & contrast

On white

2.81
#C877F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C877F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877F9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877F9#FFFFFF#000000##000000
##C877F91.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#C28DAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877f9;
/* rgb */ color: rgb(200, 119, 249);
/* oklch */ color: oklch(70.9% 0.196 311.1);
Tailwind
colors: {
  custom: {
    50: '#dba1fc',
    500: '#c877f9',
    950: '#000000',
  },
}
SCSS
$custom: #c877f9;
$custom-light: #dba1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c877f9",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 277.385,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.19598,
    "h": 311.1
  },
  "luminance": 0.32313
}

Semantic roles & 50–950 ramp

primary
#C877F9
secondary
#E1F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C877F9

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

Preview Lab → · Contrast checker → · Palette generator →

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