#C879F9#C879F9

#C879F9 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.193 H 310.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C879F9
RGBrgb(200, 121, 249)
HSLhsl(277, 91%, 73%)
HSVhsv(277, 51%, 98%)
CMYKcmyk(19.7%, 51.4%, 0%, 2.4%)
CIE-LABlab(63.99, 52.68, -52.12)
CIE-LCHlch(63.99, 74.11, 315.31°)
OKLaboklab(71.16% 0.1263 -0.1458)
OKLCHoklch(71.16% 0.193 310.9)
XYZxyz(47.7526, 32.7946, 93.4186)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879F9 #AAF979
analogous
#8879F9 #C879F9 #F979EA
triadic
#C879F9 #F9C879 #79F9C8
tetradic
#C879F9 #F98879 #AAF979 #79EAF9
square
#C879F9 #F98879 #AAF979 #79EAF9
split-complementary
#C879F9 #EAF979 #79F988
monochromatic
#960BED #B03EF6 #C879F9 #E0B4FC #F3E2FE

Accessibility & contrast

On white

2.78
#C879F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#C879F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879F9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879F9#FFFFFF#000000##000000
##C879F91.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#C28EAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c879f9;
/* rgb */ color: rgb(200, 121, 249);
/* oklch */ color: oklch(71.2% 0.193 310.9);
Tailwind
colors: {
  custom: {
    50: '#dba2fc',
    500: '#c879f9',
    950: '#000000',
  },
}
SCSS
$custom: #c879f9;
$custom-light: #dba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c879f9",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 277.031,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71162,
    "c": 0.19291,
    "h": 310.9
  },
  "luminance": 0.32794
}

Semantic roles & 50–950 ramp

primary
#C879F9
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C879F9

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

Preview Lab → · Contrast checker → · Palette generator →

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