#C977FE#C977FE

#C977FE is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.3% C 0.202 H 310.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C977FE
RGBrgb(201, 119, 254)
HSLhsl(276, 99%, 73%)
HSVhsv(276, 53%, 100%)
CMYKcmyk(20.9%, 53.1%, 0%, 0.4%)
CIE-LABlab(63.97, 55.03, -54.90)
CIE-LCHlch(63.97, 77.73, 315.07°)
OKLaboklab(71.25% 0.1305 -0.1538)
OKLCHoklch(71.25% 0.202 310.3)
XYZxyz(48.5703, 32.7678, 97.5129)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C977FE #ACFE77
analogous
#8577FE #C977FE #FE77F0
triadic
#C977FE #FEC977 #77FEC9
tetradic
#C977FE #FE8577 #ACFE77 #77F0FE
square
#C977FE #FE8577 #ACFE77 #77F0FE
split-complementary
#C977FE #F0FE77 #77FE85
monochromatic
#9802F9 #B13AFE #C977FE #E1B4FE #F3E1FF

Accessibility & contrast

On white

2.78
#C977FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C977FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C977FE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C977FE#FFFFFF#000000##000000
##C977FE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6B9CFB
Tritanopia (blue-blind)
#C28EB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c977fe;
/* rgb */ color: rgb(201, 119, 254);
/* oklch */ color: oklch(71.3% 0.202 310.3);
Tailwind
colors: {
  custom: {
    50: '#dca1ff',
    500: '#c977fe',
    950: '#000000',
  },
}
SCSS
$custom: #c977fe;
$custom-light: #dca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c977fe",
  "rgb": {
    "r": 201,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 276.444,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71254,
    "c": 0.20173,
    "h": 310.3
  },
  "luminance": 0.32767
}

Semantic roles & 50–950 ramp

primary
#C977FE
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C977FE

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

Preview Lab → · Contrast checker → · Palette generator →

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