#C978ED#C978ED

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

Color values

HEX#C978ED
RGBrgb(201, 120, 237)
HSLhsl(282, 76%, 70%)
HSVhsv(282, 49%, 93%)
CMYKcmyk(15.2%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.31, 50.94, -46.57)
CIE-LCHlch(63.31, 69.02, 317.57°)
OKLaboklab(70.49% 0.1276 -0.1296)
OKLCHoklch(70.49% 0.182 314.6)
XYZxyz(46.0875, 31.9661, 83.8466)
Luminance0.3196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978ED #9CED78
analogous
#8E78ED #C978ED #ED78D7
triadic
#C978ED #EDC978 #78EDC9
tetradic
#C978ED #ED8E78 #9CED78 #78D7ED
square
#C978ED #ED8E78 #9CED78 #78D7ED
split-complementary
#C978ED #D7ED78 #78ED8E
monochromatic
#981CCF #B342E6 #C978ED #DFAEF4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.39
#C978ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978ED
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978ED#FFFFFF#000000##000000
##C978ED1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F1
Deuteranopia (green-blind)
#779BEA
Tritanopia (blue-blind)
#C68AA8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c978ed;
/* rgb */ color: rgb(201, 120, 237);
/* oklch */ color: oklch(70.5% 0.182 314.6);
Tailwind
colors: {
  custom: {
    50: '#dca1f3',
    500: '#c978ed',
    950: '#000000',
  },
}
SCSS
$custom: #c978ed;
$custom-light: #dca1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c978ed",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 281.538,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.7049,
    "c": 0.18191,
    "h": 314.6
  },
  "luminance": 0.31965
}

Semantic roles & 50–950 ramp

primary
#C978ED
secondary
#DAF1D0
accent
#D90D4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978ED

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

Preview Lab → · Contrast checker → · Palette generator →

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