#C879FA#C879FA

#C879FA is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.2% C 0.194 H 310.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C879FA
RGBrgb(200, 121, 250)
HSLhsl(277, 93%, 73%)
HSVhsv(277, 52%, 98%)
CMYKcmyk(20%, 51.6%, 0%, 2%)
CIE-LABlab(64.05, 52.90, -52.59)
CIE-LCHlch(64.05, 74.59, 315.17°)
OKLaboklab(71.22% 0.1264 -0.1472)
OKLCHoklch(71.22% 0.194 310.7)
XYZxyz(47.9089, 32.8571, 94.2422)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879FA #ABFA79
analogous
#8779FA #C879FA #FA79EC
triadic
#C879FA #FAC879 #79FAC8
tetradic
#C879FA #FA8779 #ABFA79 #79ECFA
square
#C879FA #FA8779 #ABFA79 #79ECFA
split-complementary
#C879FA #ECFA79 #79FA87
monochromatic
#9609F0 #B03EF8 #C879FA #E0B4FC #F3E2FE

Accessibility & contrast

On white

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

On black

7.57
#C879FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879FA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879FA#FFFFFF#000000##000000
##C879FA1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#C28FAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c879fa;
/* rgb */ color: rgb(200, 121, 250);
/* oklch */ color: oklch(71.2% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#dba2fc',
    500: '#c879fa',
    950: '#000000',
  },
}
SCSS
$custom: #c879fa;
$custom-light: #dba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c879fa",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 276.744,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71216,
    "c": 0.194,
    "h": 310.7
  },
  "luminance": 0.32856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879FA

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

Preview Lab → · Contrast checker → · Palette generator →

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