#C878FE#C878FE

#C878FE is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.200 H 309.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C878FE
RGBrgb(200, 120, 254)
HSLhsl(276, 99%, 73%)
HSVhsv(276, 53%, 100%)
CMYKcmyk(21.3%, 52.8%, 0%, 0.4%)
CIE-LABlab(64.05, 54.27, -54.77)
CIE-LCHlch(64.05, 77.11, 314.74°)
OKLaboklab(71.29% 0.128 -0.1535)
OKLCHoklch(71.29% 0.2 309.8)
XYZxyz(48.4219, 32.8689, 97.5402)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C878FE #AEFE78
analogous
#8578FE #C878FE #FE78F1
triadic
#C878FE #FEC878 #78FEC8
tetradic
#C878FE #FE8578 #AEFE78 #78F1FE
square
#C878FE #FE8578 #AEFE78 #78F1FE
split-complementary
#C878FE #F1FE78 #78FE85
monochromatic
#9602FA #AF3BFE #C878FE #E1B5FE #F3E1FF

Accessibility & contrast

On white

2.77
#C878FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C878FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C878FE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C878FE#FFFFFF#000000##000000
##C878FE1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6B9DFB
Tritanopia (blue-blind)
#C18FB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c878fe;
/* rgb */ color: rgb(200, 120, 254);
/* oklch */ color: oklch(71.3% 0.200 309.8);
Tailwind
colors: {
  custom: {
    50: '#dba1ff',
    500: '#c878fe',
    950: '#000000',
  },
}
SCSS
$custom: #c878fe;
$custom-light: #dba1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c878fe",
  "rgb": {
    "r": 200,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 275.821,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.19988,
    "h": 309.8
  },
  "luminance": 0.32868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C878FE

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

Preview Lab → · Contrast checker → · Palette generator →

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