#C978DF#C978DF

#C978DF is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.8% C 0.167 H 318.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C978DF
RGBrgb(201, 120, 223)
HSLhsl(287, 62%, 67%)
HSVhsv(287, 46%, 87%)
CMYKcmyk(9.9%, 46.2%, 0%, 12.5%)
CIE-LABlab(62.66, 48.10, -39.82)
CIE-LCHlch(62.66, 62.44, 320.38°)
OKLaboklab(69.79% 0.1258 -0.1101)
OKLCHoklch(69.79% 0.167 318.8)
XYZxyz(44.1214, 31.1797, 73.4919)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978DF #8EDF78
analogous
#9578DF #C978DF #DF78C2
triadic
#C978DF #DFC978 #78DFC9
tetradic
#C978DF #DF9578 #8EDF78 #78C2DF
square
#C978DF #DF9578 #8EDF78 #78C2DF
split-complementary
#C978DF #C2DF78 #78DF95
monochromatic
#952AB2 #B547D3 #C978DF #DDA9EB #F1DBF6

Accessibility & contrast

On white

2.90
#C978DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C978DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978DF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978DF#FFFFFF#000000##000000
##C978DF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E3
Deuteranopia (green-blind)
#7E9ADC
Tritanopia (blue-blind)
#C986A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c978df;
/* rgb */ color: rgb(201, 120, 223);
/* oklch */ color: oklch(69.8% 0.167 318.8);
Tailwind
colors: {
  custom: {
    50: '#dba1e9',
    500: '#c978df',
    950: '#000000',
  },
}
SCSS
$custom: #c978df;
$custom-light: #dba1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c978df",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 287.184,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69789,
    "c": 0.16714,
    "h": 318.8
  },
  "luminance": 0.31178
}

Semantic roles & 50–950 ramp

primary
#C978DF
secondary
#D0EAC9
accent
#C91C41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C978DF

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

Preview Lab → · Contrast checker → · Palette generator →

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