#C878FC#C878FC

#C878FC is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.198 H 310.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C878FC
RGBrgb(200, 120, 252)
HSLhsl(276, 96%, 73%)
HSVhsv(276, 52%, 99%)
CMYKcmyk(20.6%, 52.4%, 0%, 1.2%)
CIE-LABlab(63.95, 53.84, -53.84)
CIE-LCHlch(63.95, 76.14, 315.00°)
OKLaboklab(71.18% 0.1279 -0.1508)
OKLCHoklch(71.18% 0.198 310.3)
XYZxyz(48.1033, 32.7415, 95.8623)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878FC #ACFC78
analogous
#8678FC #C878FC #FC78EE
triadic
#C878FC #FCC878 #78FCC8
tetradic
#C878FC #FC8678 #ACFC78 #78EEFC
square
#C878FC #FC8678 #ACFC78 #78EEFC
split-complementary
#C878FC #EEFC78 #78FC86
monochromatic
#9605F4 #B03CFB #C878FC #E0B4FD #F3E1FE

Accessibility & contrast

On white

2.78
#C878FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C878FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878FC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878FC#FFFFFF#000000##000000
##C878FC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6D9CF9
Tritanopia (blue-blind)
#C28FAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c878fc;
/* rgb */ color: rgb(200, 120, 252);
/* oklch */ color: oklch(71.2% 0.198 310.3);
Tailwind
colors: {
  custom: {
    50: '#dba1fe',
    500: '#c878fc',
    950: '#000000',
  },
}
SCSS
$custom: #c878fc;
$custom-light: #dba1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c878fc",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 276.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7118,
    "c": 0.1977,
    "h": 310.3
  },
  "luminance": 0.32741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C878FC

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

Preview Lab → · Contrast checker → · Palette generator →

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