#C879F7#C879F7

#C879F7 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.191 H 311.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C879F7
RGBrgb(200, 121, 247)
HSLhsl(278, 89%, 72%)
HSVhsv(278, 51%, 97%)
CMYKcmyk(19%, 51%, 0%, 3.1%)
CIE-LABlab(63.89, 52.26, -51.18)
CIE-LCHlch(63.89, 73.15, 315.60°)
OKLaboklab(71.05% 0.1262 -0.143)
OKLCHoklch(71.05% 0.191 311.4)
XYZxyz(47.4423, 32.6705, 91.7845)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879F7 #A8F779
analogous
#8979F7 #C879F7 #F779E7
triadic
#C879F7 #F7C879 #79F7C8
tetradic
#C879F7 #F78979 #A8F779 #79E7F7
square
#C879F7 #F78979 #A8F779 #79E7F7
split-complementary
#C879F7 #E7F779 #79F789
monochromatic
#960EE8 #B03FF4 #C879F7 #E0B3FA #F3E2FD

Accessibility & contrast

On white

2.79
#C879F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C879F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879F7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879F7#FFFFFF#000000##000000
##C879F71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#719CF4
Tritanopia (blue-blind)
#C38EAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c879f7;
/* rgb */ color: rgb(200, 121, 247);
/* oklch */ color: oklch(71.1% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#dba2fa',
    500: '#c879f7',
    950: '#000000',
  },
}
SCSS
$custom: #c879f7;
$custom-light: #dba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c879f7",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 277.619,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71054,
    "c": 0.19073,
    "h": 311.4
  },
  "luminance": 0.3267
}

Semantic roles & 50–950 ramp

primary
#C879F7
secondary
#E1F5D6
accent
#E50056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879F7

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

Preview Lab → · Contrast checker → · Palette generator →

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