#C878F7#C878F7

#C878F7 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.192 H 311.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C878F7
RGBrgb(200, 120, 247)
HSLhsl(278, 89%, 72%)
HSVhsv(278, 51%, 97%)
CMYKcmyk(19%, 51.4%, 0%, 3.1%)
CIE-LABlab(63.70, 52.77, -51.50)
CIE-LCHlch(63.70, 73.73, 315.70°)
OKLaboklab(70.91% 0.1275 -0.144)
OKLCHoklch(70.91% 0.192 311.5)
XYZxyz(47.3214, 32.4287, 91.7442)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878F7 #A7F778
analogous
#8978F7 #C878F7 #F778E7
triadic
#C878F7 #F7C878 #78F7C8
tetradic
#C878F7 #F78978 #A7F778 #78E7F7
square
#C878F7 #F78978 #A7F778 #78E7F7
split-complementary
#C878F7 #E7F778 #78F789
monochromatic
#970EE7 #B03EF4 #C878F7 #E0B2FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.49
#C878F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878F7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878F7#FFFFFF#000000##000000
##C878F71.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#C38DAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c878f7;
/* rgb */ color: rgb(200, 120, 247);
/* oklch */ color: oklch(70.9% 0.192 311.5);
Tailwind
colors: {
  custom: {
    50: '#dba1fa',
    500: '#c878f7',
    950: '#000000',
  },
}
SCSS
$custom: #c878f7;
$custom-light: #dba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c878f7",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 277.795,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70908,
    "c": 0.19228,
    "h": 311.5
  },
  "luminance": 0.32428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C878F7

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

Preview Lab → · Contrast checker → · Palette generator →

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