#C976F8#C976F8

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

Color values

HEX#C976F8
RGBrgb(201, 118, 248)
HSLhsl(278, 90%, 72%)
HSVhsv(278, 52%, 97%)
CMYKcmyk(19%, 52.4%, 0%, 2.7%)
CIE-LABlab(63.47, 54.26, -52.40)
CIE-LCHlch(63.47, 75.43, 316.00°)
OKLaboklab(70.78% 0.1313 -0.1466)
OKLCHoklch(70.78% 0.197 311.9)
XYZxyz(47.5061, 32.1527, 92.4923)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C976F8 #A5F876
analogous
#8876F8 #C976F8 #F876E6
triadic
#C976F8 #F8C976 #76F8C9
tetradic
#C976F8 #F88876 #A5F876 #76E6F8
square
#C976F8 #F88876 #A5F876 #76E6F8
split-complementary
#C976F8 #E6F876 #76F888
monochromatic
#980CE8 #B23CF5 #C976F8 #E0B0FB #F4E2FE

Accessibility & contrast

On white

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

On black

7.43
#C976F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C976F8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C976F8#FFFFFF#000000##000000
##C976F81.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C48CAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c976f8;
/* rgb */ color: rgb(201, 118, 248);
/* oklch */ color: oklch(70.8% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#dca0fb',
    500: '#c976f8',
    950: '#000000',
  },
}
SCSS
$custom: #c976f8;
$custom-light: #dca0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c976f8",
  "rgb": {
    "r": 201,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 278.308,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70782,
    "c": 0.1968,
    "h": 311.9
  },
  "luminance": 0.32152
}

Semantic roles & 50–950 ramp

primary
#C976F8
secondary
#E0F5D4
accent
#E60053
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C976F8

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

Preview Lab → · Contrast checker → · Palette generator →

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