#C879FF#C879FF

#C879FF is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.199 H 309.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C879FF
RGBrgb(200, 121, 255)
HSLhsl(275, 100%, 74%)
HSVhsv(275, 53%, 100%)
CMYKcmyk(21.6%, 52.5%, 0%, 0%)
CIE-LABlab(64.30, 53.98, -54.93)
CIE-LCHlch(64.30, 77.01, 314.50°)
OKLaboklab(71.49% 0.1268 -0.154)
OKLCHoklch(71.49% 0.199 309.5)
XYZxyz(48.7033, 33.1749, 98.4261)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879FF #B0FF79
analogous
#8579FF #C879FF #FF79F3
triadic
#C879FF #FFC879 #79FFC8
tetradic
#C879FF #FF8579 #B0FF79 #79F3FF
square
#C879FF #FF8579 #B0FF79 #79F3FF
split-complementary
#C879FF #F3FF79 #79FF85
monochromatic
#9600FE #AF3CFF #C879FF #E1B6FF #F2E0FF

Accessibility & contrast

On white

2.75
#C879FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C879FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879FF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879FF#FFFFFF#000000##000000
##C879FF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6C9DFC
Tritanopia (blue-blind)
#C190B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c879ff;
/* rgb */ color: rgb(200, 121, 255);
/* oklch */ color: oklch(71.5% 0.199 309.5);
Tailwind
colors: {
  custom: {
    50: '#dba2ff',
    500: '#c879ff',
    950: '#000000',
  },
}
SCSS
$custom: #c879ff;
$custom-light: #dba2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c879ff",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 275.373,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71489,
    "c": 0.19946,
    "h": 309.5
  },
  "luminance": 0.33174
}

Semantic roles & 50–950 ramp

primary
#C879FF
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C879FF

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

Preview Lab → · Contrast checker → · Palette generator →

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