#C879FE#C879FE

#C879FE is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.198 H 309.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C879FE
RGBrgb(200, 121, 254)
HSLhsl(276, 99%, 74%)
HSVhsv(276, 52%, 100%)
CMYKcmyk(21.3%, 52.4%, 0%, 0.4%)
CIE-LABlab(64.25, 53.76, -54.46)
CIE-LCHlch(64.25, 76.53, 314.63°)
OKLaboklab(71.43% 0.1267 -0.1526)
OKLCHoklch(71.43% 0.198 309.7)
XYZxyz(48.5428, 33.1107, 97.5805)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879FE #AFFE79
analogous
#8579FE #C879FE #FE79F2
triadic
#C879FE #FEC879 #79FEC8
tetradic
#C879FE #FE8579 #AFFE79 #79F2FE
square
#C879FE #FE8579 #AFFE79 #79F2FE
split-complementary
#C879FE #F2FE79 #79FE85
monochromatic
#9602FB #AF3CFE #C879FE #E1B6FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.62
#C879FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879FE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879FE#FFFFFF#000000##000000
##C879FE1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C190B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c879fe;
/* rgb */ color: rgb(200, 121, 254);
/* oklch */ color: oklch(71.4% 0.198 309.7);
Tailwind
colors: {
  custom: {
    50: '#dba2ff',
    500: '#c879fe',
    950: '#000000',
  },
}
SCSS
$custom: #c879fe;
$custom-light: #dba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c879fe",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 275.639,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71434,
    "c": 0.19836,
    "h": 309.7
  },
  "luminance": 0.3311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879FE

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

Preview Lab → · Contrast checker → · Palette generator →

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