#C978EB#C978EB

#C978EB is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.180 H 315.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C978EB
RGBrgb(201, 120, 235)
HSLhsl(282, 74%, 70%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(14.5%, 48.9%, 0%, 7.8%)
CIE-LABlab(63.22, 50.53, -45.61)
CIE-LCHlch(63.22, 68.07, 317.93°)
OKLaboklab(70.39% 0.1274 -0.1268)
OKLCHoklch(70.39% 0.18 315.1)
XYZxyz(45.7969, 31.8499, 82.3163)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978EB #9AEB78
analogous
#9078EB #C978EB #EB78D4
triadic
#C978EB #EBC978 #78EBC9
tetradic
#C978EB #EB9078 #9AEB78 #78D4EB
square
#C978EB #EB9078 #9AEB78 #78D4EB
split-complementary
#C978EB #D4EB78 #78EB90
monochromatic
#981ECB #B443E3 #C978EB #DEADF3 #F4E3FB

Accessibility & contrast

On white

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

On black

7.37
#C978EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978EB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978EB#FFFFFF#000000##000000
##C978EB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#C789A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c978eb;
/* rgb */ color: rgb(201, 120, 235);
/* oklch */ color: oklch(70.4% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#dba1f2',
    500: '#c978eb',
    950: '#000000',
  },
}
SCSS
$custom: #c978eb;
$custom-light: #dba1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c978eb",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 282.261,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.17978,
    "h": 315.1
  },
  "luminance": 0.31849
}

Semantic roles & 50–950 ramp

primary
#C978EB
secondary
#D9F0CF
accent
#D60F4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978EB

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

Preview Lab → · Contrast checker → · Palette generator →

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