#C976F9#C976F9

#C976F9 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.8% C 0.198 H 311.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C976F9
RGBrgb(201, 118, 249)
HSLhsl(278, 92%, 72%)
HSVhsv(278, 53%, 98%)
CMYKcmyk(19.3%, 52.6%, 0%, 2.4%)
CIE-LABlab(63.52, 54.48, -52.87)
CIE-LCHlch(63.52, 75.91, 315.86°)
OKLaboklab(70.84% 0.1314 -0.1479)
OKLCHoklch(70.84% 0.198 311.6)
XYZxyz(47.6617, 32.2150, 93.3115)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C976F9 #A6F976
analogous
#8876F9 #C976F9 #F976E8
triadic
#C976F9 #F9C976 #76F9C9
tetradic
#C976F9 #F98876 #A6F976 #76E8F9
square
#C976F9 #F98876 #A6F976 #76E8F9
split-complementary
#C976F9 #E8F976 #76F988
monochromatic
#980AEA #B23BF6 #C976F9 #E0B1FC #F3E2FE

Accessibility & contrast

On white

2.82
#C976F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#C976F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C976F9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C976F9#FFFFFF#000000##000000
##C976F91.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#C48CAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c976f9;
/* rgb */ color: rgb(201, 118, 249);
/* oklch */ color: oklch(70.8% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#dca0fc',
    500: '#c976f9',
    950: '#000000',
  },
}
SCSS
$custom: #c976f9;
$custom-light: #dca0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c976f9",
  "rgb": {
    "r": 201,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 278.015,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70837,
    "c": 0.19786,
    "h": 311.6
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C976F9

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

Preview Lab → · Contrast checker → · Palette generator →

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