#C879FC#C879FC

#C879FC is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.196 H 310.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C879FC
RGBrgb(200, 121, 252)
HSLhsl(276, 96%, 73%)
HSVhsv(276, 52%, 99%)
CMYKcmyk(20.6%, 52%, 0%, 1.2%)
CIE-LABlab(64.15, 53.33, -53.53)
CIE-LCHlch(64.15, 75.56, 314.89°)
OKLaboklab(71.32% 0.1266 -0.1499)
OKLCHoklch(71.32% 0.196 310.2)
XYZxyz(48.2242, 32.9832, 95.9026)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879FC #ADFC79
analogous
#8679FC #C879FC #FC79EF
triadic
#C879FC #FCC879 #79FCC8
tetradic
#C879FC #FC8679 #ADFC79 #79EFFC
square
#C879FC #FC8679 #ADFC79 #79EFFC
split-complementary
#C879FC #EFFC79 #79FC86
monochromatic
#9605F5 #AF3DFB #C879FC #E1B5FD #F3E1FE

Accessibility & contrast

On white

2.76
#C879FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C879FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879FC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879FC#FFFFFF#000000##000000
##C879FC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c879fc;
/* rgb */ color: rgb(200, 121, 252);
/* oklch */ color: oklch(71.3% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#dba2fe',
    500: '#c879fc',
    950: '#000000',
  },
}
SCSS
$custom: #c879fc;
$custom-light: #dba2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c879fc",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 276.183,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.19618,
    "h": 310.2
  },
  "luminance": 0.32982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879FC

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

Preview Lab → · Contrast checker → · Palette generator →

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