#C977FA#C977FA

#C977FA is a light, vivid violet. Relative luminance 0.325; OKLCH L 71.0% C 0.197 H 311.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C977FA
RGBrgb(201, 119, 250)
HSLhsl(278, 93%, 72%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(19.6%, 52.4%, 0%, 2%)
CIE-LABlab(63.77, 54.18, -53.03)
CIE-LCHlch(63.77, 75.81, 315.61°)
OKLaboklab(71.03% 0.1302 -0.1484)
OKLCHoklch(71.03% 0.197 311.3)
XYZxyz(47.9364, 32.5143, 94.1746)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C977FA #A8FA77
analogous
#8777FA #C977FA #FA77EA
triadic
#C977FA #FAC977 #77FAC9
tetradic
#C977FA #FA8777 #A8FA77 #77EAFA
square
#C977FA #FA8777 #A8FA77 #77EAFA
split-complementary
#C977FA #EAFA77 #77FA87
monochromatic
#9809EE #B23CF8 #C977FA #E0B2FC #F3E1FE

Accessibility & contrast

On white

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

On black

7.50
#C977FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C977FA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C977FA#FFFFFF#000000##000000
##C977FA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#C38DAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c977fa;
/* rgb */ color: rgb(201, 119, 250);
/* oklch */ color: oklch(71.0% 0.197 311.3);
Tailwind
colors: {
  custom: {
    50: '#dca1fc',
    500: '#c977fa',
    950: '#000000',
  },
}
SCSS
$custom: #c977fa;
$custom-light: #dca1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c977fa",
  "rgb": {
    "r": 201,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 277.557,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71034,
    "c": 0.19742,
    "h": 311.3
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#C977FA
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C977FA

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

Preview Lab → · Contrast checker → · Palette generator →

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