#C879FD#C879FD

#C879FD is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.4% C 0.197 H 309.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C879FD
RGBrgb(200, 121, 253)
HSLhsl(276, 97%, 73%)
HSVhsv(276, 52%, 99%)
CMYKcmyk(20.9%, 52.2%, 0%, 0.8%)
CIE-LABlab(64.20, 53.54, -54.00)
CIE-LCHlch(64.20, 76.04, 314.76°)
OKLaboklab(71.38% 0.1267 -0.1512)
OKLCHoklch(71.38% 0.197 309.9)
XYZxyz(48.3831, 33.0468, 96.7393)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C879FD #AEFD79
analogous
#8679FD #C879FD #FD79F0
triadic
#C879FD #FDC879 #79FDC8
tetradic
#C879FD #FD8679 #AEFD79 #79F0FD
square
#C879FD #FD8679 #AEFD79 #79F0FD
split-complementary
#C879FD #F0FD79 #79FD86
monochromatic
#9604F8 #AF3DFC #C879FD #E1B5FE #F3E1FF

Accessibility & contrast

On white

2.76
#C879FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C879FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C879FD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C879FD#FFFFFF#000000##000000
##C879FD1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#C190B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c879fd;
/* rgb */ color: rgb(200, 121, 253);
/* oklch */ color: oklch(71.4% 0.197 309.9);
Tailwind
colors: {
  custom: {
    50: '#dba2fe',
    500: '#c879fd',
    950: '#000000',
  },
}
SCSS
$custom: #c879fd;
$custom-light: #dba2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c879fd",
  "rgb": {
    "r": 200,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 275.909,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71379,
    "c": 0.19727,
    "h": 309.9
  },
  "luminance": 0.33046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C879FD

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

Preview Lab → · Contrast checker → · Palette generator →

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