#C878F6#C878F6

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

Color values

HEX#C878F6
RGBrgb(200, 120, 246)
HSLhsl(278, 88%, 72%)
HSVhsv(278, 51%, 96%)
CMYKcmyk(18.7%, 51.2%, 0%, 3.5%)
CIE-LABlab(63.65, 52.56, -51.02)
CIE-LCHlch(63.65, 73.25, 315.85°)
OKLaboklab(70.85% 0.1274 -0.1426)
OKLCHoklch(70.85% 0.191 311.8)
XYZxyz(47.1675, 32.3671, 90.9337)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878F6 #A6F678
analogous
#8978F6 #C878F6 #F678E5
triadic
#C878F6 #F6C878 #78F6C8
tetradic
#C878F6 #F68978 #A6F678 #78E5F6
square
#C878F6 #F68978 #A6F678 #78E5F6
split-complementary
#C878F6 #E5F678 #78F689
monochromatic
#970FE4 #B13FF2 #C878F6 #DFB1FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.47
#C878F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878F6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878F6#FFFFFF#000000##000000
##C878F61.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#C38DAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c878f6;
/* rgb */ color: rgb(200, 120, 246);
/* oklch */ color: oklch(70.9% 0.191 311.8);
Tailwind
colors: {
  custom: {
    50: '#dba1fa',
    500: '#c878f6',
    950: '#000000',
  },
}
SCSS
$custom: #c878f6;
$custom-light: #dba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c878f6",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 278.095,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70854,
    "c": 0.1912,
    "h": 311.8
  },
  "luminance": 0.32366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C878F6

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

Preview Lab → · Contrast checker → · Palette generator →

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