#C978EF#C978EF

#C978EF is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.184 H 314.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C978EF
RGBrgb(201, 120, 239)
HSLhsl(281, 79%, 70%)
HSVhsv(281, 50%, 94%)
CMYKcmyk(15.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(63.41, 51.35, -47.52)
CIE-LCHlch(63.41, 69.97, 317.22°)
OKLaboklab(70.59% 0.1279 -0.1324)
OKLCHoklch(70.59% 0.184 314)
XYZxyz(46.3813, 32.0836, 85.3941)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978EF #9EEF78
analogous
#8D78EF #C978EF #EF78DA
triadic
#C978EF #EFC978 #78EFC9
tetradic
#C978EF #EF8D78 #9EEF78 #78DAEF
square
#C978EF #EF8D78 #9EEF78 #78DAEF
split-complementary
#C978EF #DAEF78 #78EF8D
monochromatic
#9819D4 #B341E9 #C978EF #DFAFF5 #F4E4FC

Accessibility & contrast

On white

2.83
#C978EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C978EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978EF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978EF#FFFFFF#000000##000000
##C978EF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#C68BA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c978ef;
/* rgb */ color: rgb(201, 120, 239);
/* oklch */ color: oklch(70.6% 0.184 314.0);
Tailwind
colors: {
  custom: {
    50: '#dca1f5',
    500: '#c978ef',
    950: '#000000',
  },
}
SCSS
$custom: #c978ef;
$custom-light: #dca1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c978ef",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 280.84,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70594,
    "c": 0.18405,
    "h": 314
  },
  "luminance": 0.32082
}

Semantic roles & 50–950 ramp

primary
#C978EF
secondary
#DBF2D1
accent
#DB0A4D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978EF

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

Preview Lab → · Contrast checker → · Palette generator →

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