#C978DB#C978DB

#C978DB is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.6% C 0.163 H 320.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C978DB
RGBrgb(201, 120, 219)
HSLhsl(289, 58%, 66%)
HSVhsv(289, 45%, 86%)
CMYKcmyk(8.2%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.48, 47.31, -37.87)
CIE-LCHlch(62.48, 60.60, 321.32°)
OKLaboklab(69.6% 0.1251 -0.1045)
OKLCHoklch(69.6% 0.163 320.1)
XYZxyz(43.5885, 30.9665, 70.6852)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978DB #8ADB78
analogous
#9878DB #C978DB #DB78BC
triadic
#C978DB #DBC978 #78DBC9
tetradic
#C978DB #DB9878 #8ADB78 #78BCDB
square
#C978DB #DB9878 #8ADB78 #78BCDB
split-complementary
#C978DB #BCDB78 #78DB98
monochromatic
#942EAB #B648CE #C978DB #DCA8E8 #F0D9F5

Accessibility & contrast

On white

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

On black

7.19
#C978DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978DB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978DB#FFFFFF#000000##000000
##C978DB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#CA859F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c978db;
/* rgb */ color: rgb(201, 120, 219);
/* oklch */ color: oklch(69.6% 0.163 320.1);
Tailwind
colors: {
  custom: {
    50: '#dba1e6',
    500: '#c978db',
    950: '#000000',
  },
}
SCSS
$custom: #c978db;
$custom-light: #dba1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c978db",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 289.091,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69597,
    "c": 0.163,
    "h": 320.1
  },
  "luminance": 0.30965
}

Semantic roles & 50–950 ramp

primary
#C978DB
secondary
#CDE7C7
accent
#C5203E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C978DB

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

Preview Lab → · Contrast checker → · Palette generator →

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