#C877F8#C877F8

#C877F8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.195 H 311.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#C877F8
RGBrgb(200, 119, 248)
HSLhsl(278, 90%, 72%)
HSVhsv(278, 52%, 97%)
CMYKcmyk(19.4%, 52%, 0%, 2.7%)
CIE-LABlab(63.55, 53.50, -52.28)
CIE-LCHlch(63.55, 74.80, 315.66°)
OKLaboklab(70.82% 0.1289 -0.1462)
OKLCHoklch(70.82% 0.195 311.4)
XYZxyz(47.3565, 32.2513, 92.5192)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C877F8 #A7F877
analogous
#8777F8 #C877F8 #F877E8
triadic
#C877F8 #F8C877 #77F8C8
tetradic
#C877F8 #F88777 #A7F877 #77E8F8
square
#C877F8 #F88777 #A7F877 #77E8F8
split-complementary
#C877F8 #E8F877 #77F887
monochromatic
#970CE9 #B03DF5 #C877F8 #E0B1FB #F3E2FE

Accessibility & contrast

On white

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

On black

7.45
#C877F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C877F8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C877F8#FFFFFF#000000##000000
##C877F81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6E9CF5
Tritanopia (blue-blind)
#C38DAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c877f8;
/* rgb */ color: rgb(200, 119, 248);
/* oklch */ color: oklch(70.8% 0.195 311.4);
Tailwind
colors: {
  custom: {
    50: '#dba1fb',
    500: '#c877f8',
    950: '#000000',
  },
}
SCSS
$custom: #c877f8;
$custom-light: #dba1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c877f8",
  "rgb": {
    "r": 200,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 277.674,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70817,
    "c": 0.1949,
    "h": 311.4
  },
  "luminance": 0.3225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C877F8

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

Preview Lab → · Contrast checker → · Palette generator →

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