#C876F6#C876F6

#C876F6 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.6% C 0.194 H 312.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C876F6
RGBrgb(200, 118, 246)
HSLhsl(278, 88%, 71%)
HSVhsv(278, 52%, 96%)
CMYKcmyk(18.7%, 52%, 0%, 3.5%)
CIE-LABlab(63.25, 53.58, -51.65)
CIE-LCHlch(63.25, 74.42, 316.05°)
OKLaboklab(70.57% 0.13 -0.1444)
OKLCHoklch(70.57% 0.194 312)
XYZxyz(46.9295, 31.8911, 90.8543)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C876F6 #A4F676
analogous
#8876F6 #C876F6 #F676E4
triadic
#C876F6 #F6C876 #76F6C8
tetradic
#C876F6 #F68876 #A4F676 #76E4F6
square
#C876F6 #F68876 #A4F676 #76E4F6
split-complementary
#C876F6 #E4F676 #76F688
monochromatic
#970FE3 #B13DF2 #C876F6 #DFAFFA #F3E2FD

Accessibility & contrast

On white

2.85
#C876F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#C876F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C876F6
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C876F6#FFFFFF#000000##000000
##C876F61.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#C38BAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c876f6;
/* rgb */ color: rgb(200, 118, 246);
/* oklch */ color: oklch(70.6% 0.194 312.0);
Tailwind
colors: {
  custom: {
    50: '#dba0fa',
    500: '#c876f6',
    950: '#000000',
  },
}
SCSS
$custom: #c876f6;
$custom-light: #dba0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c876f6",
  "rgb": {
    "r": 200,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 278.438,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70565,
    "c": 0.19428,
    "h": 312
  },
  "luminance": 0.3189
}

Semantic roles & 50–950 ramp

primary
#C876F6
secondary
#DFF5D3
accent
#E40153
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C876F6

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

Preview Lab → · Contrast checker → · Palette generator →

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