#C978DA#C978DA

#C978DA is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.5% C 0.162 H 320.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C978DA
RGBrgb(201, 120, 218)
HSLhsl(290, 57%, 66%)
HSVhsv(290, 45%, 85%)
CMYKcmyk(7.8%, 45%, 0%, 14.5%)
CIE-LABlab(62.44, 47.11, -37.38)
CIE-LCHlch(62.44, 60.14, 321.57°)
OKLaboklab(69.55% 0.125 -0.1031)
OKLCHoklch(69.55% 0.162 320.5)
XYZxyz(43.4572, 30.9140, 69.9939)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978DA #89DA78
analogous
#9878DA #C978DA #DA78BA
triadic
#C978DA #DAC978 #78DAC9
tetradic
#C978DA #DA9878 #89DA78 #78BADA
square
#C978DA #DA9878 #89DA78 #78BADA
split-complementary
#C978DA #BADA78 #78DA98
monochromatic
#942EA9 #B648CD #C978DA #DCA8E7 #EFD8F4

Accessibility & contrast

On white

2.92
#C978DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C978DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978DA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978DA#FFFFFF#000000##000000
##C978DA1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DD
Deuteranopia (green-blind)
#809AD7
Tritanopia (blue-blind)
#CA849F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c978da;
/* rgb */ color: rgb(201, 120, 218);
/* oklch */ color: oklch(69.5% 0.162 320.5);
Tailwind
colors: {
  custom: {
    50: '#dba1e6',
    500: '#c978da',
    950: '#000000',
  },
}
SCSS
$custom: #c978da;
$custom-light: #dba1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c978da",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 289.592,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69549,
    "c": 0.16197,
    "h": 320.5
  },
  "luminance": 0.30912
}

Semantic roles & 50–950 ramp

primary
#C978DA
secondary
#CCE7C7
accent
#C5213D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C978DA

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

Preview Lab → · Contrast checker → · Palette generator →

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