#C876F9#C876F9

#C876F9 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.198 H 311.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C876F9
RGBrgb(200, 118, 249)
HSLhsl(278, 92%, 72%)
HSVhsv(278, 53%, 98%)
CMYKcmyk(19.7%, 52.6%, 0%, 2.4%)
CIE-LABlab(63.41, 54.22, -53.06)
CIE-LCHlch(63.41, 75.86, 315.62°)
OKLaboklab(70.73% 0.1302 -0.1485)
OKLCHoklch(70.73% 0.198 311.2)
XYZxyz(47.3936, 32.0768, 93.2989)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C876F9 #A7F976
analogous
#8776F9 #C876F9 #F976E9
triadic
#C876F9 #F9C876 #76F9C8
tetradic
#C876F9 #F98776 #A7F976 #76E9F9
square
#C876F9 #F98776 #A7F976 #76E9F9
split-complementary
#C876F9 #E9F976 #76F987
monochromatic
#970AEA #B03BF6 #C876F9 #E0B1FC #F3E2FE

Accessibility & contrast

On white

2.83
#C876F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C876F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C876F9
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C876F9#FFFFFF#000000##000000
##C876F91.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#6D9BF6
Tritanopia (blue-blind)
#C28CAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c876f9;
/* rgb */ color: rgb(200, 118, 249);
/* oklch */ color: oklch(70.7% 0.198 311.2);
Tailwind
colors: {
  custom: {
    50: '#dba0fc',
    500: '#c876f9',
    950: '#000000',
  },
}
SCSS
$custom: #c876f9;
$custom-light: #dba0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c876f9",
  "rgb": {
    "r": 200,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 277.557,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70728,
    "c": 0.19751,
    "h": 311.2
  },
  "luminance": 0.32076
}

Semantic roles & 50–950 ramp

primary
#C876F9
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C876F9

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

Preview Lab → · Contrast checker → · Palette generator →

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