#C879F8#C879F8

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

Color values

HEX#C879F8
RGBrgb(200, 121, 248)
HSLhsl(277, 90%, 72%)
HSVhsv(277, 51%, 97%)
CMYKcmyk(19.4%, 51.2%, 0%, 2.7%)
CIE-LABlab(63.94, 52.47, -51.65)
CIE-LCHlch(63.94, 73.63, 315.45°)
OKLaboklab(71.11% 0.1262 -0.1444)
OKLCHoklch(71.11% 0.192 311.2)
XYZxyz(47.5970, 32.7324, 92.5993)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879F8 #A9F879
analogous
#8979F8 #C879F8 #F879E8
triadic
#C879F8 #F8C879 #79F8C8
tetradic
#C879F8 #F88979 #A9F879 #79E8F8
square
#C879F8 #F88979 #A9F879 #79E8F8
split-complementary
#C879F8 #E8F879 #79F889
monochromatic
#960CEA #B03FF5 #C879F8 #E0B3FB #F3E2FD

Accessibility & contrast

On white

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

On black

7.55
#C879F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879F8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879F8#FFFFFF#000000##000000
##C879F81.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#C38EAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c879f8;
/* rgb */ color: rgb(200, 121, 248);
/* oklch */ color: oklch(71.1% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#dba2fb',
    500: '#c879f8',
    950: '#000000',
  },
}
SCSS
$custom: #c879f8;
$custom-light: #dba2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c879f8",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 277.323,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.19182,
    "h": 311.2
  },
  "luminance": 0.32731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879F8

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

Preview Lab → · Contrast checker → · Palette generator →

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