#C978F7#C978F7

#C978F7 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.0% C 0.193 H 311.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C978F7
RGBrgb(201, 120, 247)
HSLhsl(278, 89%, 72%)
HSVhsv(278, 51%, 97%)
CMYKcmyk(18.6%, 51.4%, 0%, 3.1%)
CIE-LABlab(63.81, 53.03, -51.31)
CIE-LCHlch(63.81, 73.79, 315.95°)
OKLaboklab(71.02% 0.1286 -0.1434)
OKLCHoklch(71.02% 0.193 311.9)
XYZxyz(47.5894, 32.5669, 91.7567)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978F7 #A6F778
analogous
#8A78F7 #C978F7 #F778E5
triadic
#C978F7 #F7C978 #78F7C9
tetradic
#C978F7 #F78A78 #A6F778 #78E5F7
square
#C978F7 #F78A78 #A6F778 #78E5F7
split-complementary
#C978F7 #E5F778 #78F78A
monochromatic
#980EE7 #B23EF4 #C978F7 #E0B2FA #F3E2FD

Accessibility & contrast

On white

2.80
#C978F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C978F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978F7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978F7#FFFFFF#000000##000000
##C978F71.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#719CF4
Tritanopia (blue-blind)
#C48DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c978f7;
/* rgb */ color: rgb(201, 120, 247);
/* oklch */ color: oklch(71.0% 0.193 311.9);
Tailwind
colors: {
  custom: {
    50: '#dca1fa',
    500: '#c978f7',
    950: '#000000',
  },
}
SCSS
$custom: #c978f7;
$custom-light: #dca1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c978f7",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 278.268,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.19264,
    "h": 311.9
  },
  "luminance": 0.32566
}

Semantic roles & 50–950 ramp

primary
#C978F7
secondary
#E1F5D5
accent
#E50053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978F7

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

Preview Lab → · Contrast checker → · Palette generator →

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