#C978EA#C978EA

#C978EA is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.179 H 315.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C978EA
RGBrgb(201, 120, 234)
HSLhsl(283, 73%, 69%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(14.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.17, 50.32, -45.13)
CIE-LCHlch(63.17, 67.59, 318.11°)
OKLaboklab(70.34% 0.1273 -0.1254)
OKLCHoklch(70.34% 0.179 315.4)
XYZxyz(45.6529, 31.7923, 81.5576)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978EA #99EA78
analogous
#9078EA #C978EA #EA78D2
triadic
#C978EA #EAC978 #78EAC9
tetradic
#C978EA #EA9078 #99EA78 #78D2EA
square
#C978EA #EA9078 #99EA78 #78D2EA
split-complementary
#C978EA #D2EA78 #78EA90
monochromatic
#971FC8 #B443E2 #C978EA #DEADF2 #F3E2FA

Accessibility & contrast

On white

2.85
#C978EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C978EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978EA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978EA#FFFFFF#000000##000000
##C978EA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#C789A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c978ea;
/* rgb */ color: rgb(201, 120, 234);
/* oklch */ color: oklch(70.3% 0.179 315.4);
Tailwind
colors: {
  custom: {
    50: '#dba1f1',
    500: '#c978ea',
    950: '#000000',
  },
}
SCSS
$custom: #c978ea;
$custom-light: #dba1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c978ea",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 282.632,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.17872,
    "h": 315.4
  },
  "luminance": 0.31791
}

Semantic roles & 50–950 ramp

primary
#C978EA
secondary
#D8EFCE
accent
#D51049
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978EA

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

Preview Lab → · Contrast checker → · Palette generator →

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