#C978EE#C978EE

#C978EE is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.183 H 314.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C978EE
RGBrgb(201, 120, 238)
HSLhsl(281, 78%, 70%)
HSVhsv(281, 50%, 93%)
CMYKcmyk(15.5%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.36, 51.14, -47.05)
CIE-LCHlch(63.36, 69.49, 317.39°)
OKLaboklab(70.54% 0.1278 -0.131)
OKLCHoklch(70.54% 0.183 314.3)
XYZxyz(46.2340, 32.0247, 84.6182)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978EE #9DEE78
analogous
#8E78EE #C978EE #EE78D8
triadic
#C978EE #EEC978 #78EEC9
tetradic
#C978EE #EE8E78 #9DEE78 #78D8EE
square
#C978EE #EE8E78 #9DEE78 #78D8EE
split-complementary
#C978EE #D8EE78 #78EE8E
monochromatic
#981AD1 #B342E7 #C978EE #DFAEF5 #F4E4FC

Accessibility & contrast

On white

2.84
#C978EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C978EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978EE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978EE#FFFFFF#000000##000000
##C978EE1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#C68AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c978ee;
/* rgb */ color: rgb(201, 120, 238);
/* oklch */ color: oklch(70.5% 0.183 314.3);
Tailwind
colors: {
  custom: {
    50: '#dca1f4',
    500: '#c978ee',
    950: '#000000',
  },
}
SCSS
$custom: #c978ee;
$custom-light: #dca1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c978ee",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 281.186,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.18299,
    "h": 314.3
  },
  "luminance": 0.32023
}

Semantic roles & 50–950 ramp

primary
#C978EE
secondary
#DBF1D1
accent
#DA0C4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978EE

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

Preview Lab → · Contrast checker → · Palette generator →

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