#C978CD#C978CD

#C978CD is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.0% C 0.149 H 325.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#C978CD
RGBrgb(201, 120, 205)
HSLhsl(297, 46%, 64%)
HSVhsv(297, 41%, 80%)
CMYKcmyk(2%, 41.5%, 0%, 19.6%)
CIE-LABlab(61.88, 44.62, -30.95)
CIE-LCHlch(61.88, 54.30, 325.26°)
OKLaboklab(68.95% 0.1225 -0.0847)
OKLCHoklch(68.95% 0.149 325.4)
XYZxyz(41.8223, 30.2601, 61.3836)
Luminance0.3026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978CD #7CCD78
analogous
#9E78CD #C978CD #CD78A6
triadic
#C978CD #CDC978 #78CDC9
tetradic
#C978CD #CD9E78 #7CCD78 #78A6CD
square
#C978CD #CD9E78 #7CCD78 #78A6CD
split-complementary
#C978CD #A6CD78 #78CD9E
monochromatic
#8F3794 #B74BBC #C978CD #DBA5DE #EDD1EE

Accessibility & contrast

On white

2.98
#C978CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#C978CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978CD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978CD#FFFFFF#000000##000000
##C978CD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#8699CA
Tritanopia (blue-blind)
#CD8199
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c978cd;
/* rgb */ color: rgb(201, 120, 205);
/* oklch */ color: oklch(69.0% 0.149 325.4);
Tailwind
colors: {
  custom: {
    50: '#dba1dc',
    500: '#c978cd',
    950: '#000000',
  },
}
SCSS
$custom: #c978cd;
$custom-light: #dba1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c978cd",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 297.176,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.14891,
    "h": 325.4
  },
  "luminance": 0.30258
}

Semantic roles & 50–950 ramp

primary
#C978CD
secondary
#C3DFC1
accent
#B92C33
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C978CD

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

Preview Lab → · Contrast checker → · Palette generator →

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