#C976F7#C976F7

#C976F7 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.196 H 312.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C976F7
RGBrgb(201, 118, 247)
HSLhsl(279, 89%, 72%)
HSVhsv(279, 52%, 97%)
CMYKcmyk(18.6%, 52.2%, 0%, 3.1%)
CIE-LABlab(63.42, 54.05, -51.93)
CIE-LCHlch(63.42, 74.95, 316.15°)
OKLaboklab(70.73% 0.1313 -0.1452)
OKLCHoklch(70.73% 0.196 312.1)
XYZxyz(47.3514, 32.0908, 91.6774)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C976F7 #A4F776
analogous
#8976F7 #C976F7 #F776E4
triadic
#C976F7 #F7C976 #76F7C9
tetradic
#C976F7 #F78976 #A4F776 #76E4F7
square
#C976F7 #F78976 #A4F776 #76E4F7
split-complementary
#C976F7 #E4F776 #76F789
monochromatic
#980DE5 #B23CF4 #C976F7 #E0B0FA #F4E2FD

Accessibility & contrast

On white

2.83
#C976F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C976F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C976F7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C976F7#FFFFFF#000000##000000
##C976F71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#6F9BF4
Tritanopia (blue-blind)
#C48BAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c976f7;
/* rgb */ color: rgb(201, 118, 247);
/* oklch */ color: oklch(70.7% 0.196 312.1);
Tailwind
colors: {
  custom: {
    50: '#dca0fa',
    500: '#c976f7',
    950: '#000000',
  },
}
SCSS
$custom: #c976f7;
$custom-light: #dca0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c976f7",
  "rgb": {
    "r": 201,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 278.605,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70728,
    "c": 0.19573,
    "h": 312.1
  },
  "luminance": 0.3209
}

Semantic roles & 50–950 ramp

primary
#C976F7
secondary
#E0F5D4
accent
#E60052
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C976F7

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

Preview Lab → · Contrast checker → · Palette generator →

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