#C879FB#C879FB

#C879FB is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.195 H 310.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#C879FB
RGBrgb(200, 121, 251)
HSLhsl(276, 94%, 73%)
HSVhsv(276, 52%, 98%)
CMYKcmyk(20.3%, 51.8%, 0%, 1.6%)
CIE-LABlab(64.10, 53.11, -53.06)
CIE-LCHlch(64.10, 75.08, 315.03°)
OKLaboklab(71.27% 0.1265 -0.1485)
OKLCHoklch(71.27% 0.195 310.4)
XYZxyz(48.0661, 32.9200, 95.0702)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879FB #ACFB79
analogous
#8779FB #C879FB #FB79ED
triadic
#C879FB #FBC879 #79FBC8
tetradic
#C879FB #FB8779 #ACFB79 #79EDFB
square
#C879FB #FB8779 #ACFB79 #79EDFB
split-complementary
#C879FB #EDFB79 #79FB87
monochromatic
#9607F2 #B03EF9 #C879FB #E0B4FD #F3E1FE

Accessibility & contrast

On white

2.77
#C879FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#C879FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879FB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879FB#FFFFFF#000000##000000
##C879FB1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#C28FAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c879fb;
/* rgb */ color: rgb(200, 121, 251);
/* oklch */ color: oklch(71.3% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#dba2fd',
    500: '#c879fb',
    950: '#000000',
  },
}
SCSS
$custom: #c879fb;
$custom-light: #dba2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c879fb",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 276.462,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.19509,
    "h": 310.4
  },
  "luminance": 0.32919
}

Semantic roles & 50–950 ramp

primary
#C879FB
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C879FB

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

Preview Lab → · Contrast checker → · Palette generator →

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