#C879F6#C879F6

#C879F6 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.0% C 0.190 H 311.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C879F6
RGBrgb(200, 121, 246)
HSLhsl(278, 87%, 72%)
HSVhsv(278, 51%, 96%)
CMYKcmyk(18.7%, 50.8%, 0%, 3.5%)
CIE-LABlab(63.84, 52.04, -50.71)
CIE-LCHlch(63.84, 72.67, 315.74°)
OKLaboklab(71% 0.1261 -0.1417)
OKLCHoklch(71% 0.19 311.7)
XYZxyz(47.2884, 32.6089, 90.9740)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879F6 #A7F679
analogous
#8A79F6 #C879F6 #F679E6
triadic
#C879F6 #F6C879 #79F6C8
tetradic
#C879F6 #F68A79 #A7F679 #79E6F6
square
#C879F6 #F68A79 #A7F679 #79E6F6
split-complementary
#C879F6 #E6F679 #79F68A
monochromatic
#970FE5 #B040F2 #C879F6 #E0B2FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.52
#C879F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879F6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879F6#FFFFFF#000000##000000
##C879F61.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#C38EAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c879f6;
/* rgb */ color: rgb(200, 121, 246);
/* oklch */ color: oklch(71.0% 0.190 311.7);
Tailwind
colors: {
  custom: {
    50: '#dba2fa',
    500: '#c879f6',
    950: '#000000',
  },
}
SCSS
$custom: #c879f6;
$custom-light: #dba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c879f6",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 277.92,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71001,
    "c": 0.18964,
    "h": 311.7
  },
  "luminance": 0.32608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879F6

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

Preview Lab → · Contrast checker → · Palette generator →

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