#C971EC#C971EC

#C971EC is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.192 H 315.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C971EC
RGBrgb(201, 113, 236)
HSLhsl(283, 76%, 68%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.8%, 52.1%, 0%, 7.5%)
CIE-LABlab(61.90, 54.30, -48.25)
CIE-LCHlch(61.90, 72.64, 318.38°)
OKLaboklab(69.43% 0.1369 -0.1344)
OKLCHoklch(69.43% 0.192 315.5)
XYZxyz(45.1305, 30.2853, 82.8089)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C971EC #94EC71
analogous
#8B71EC #C971EC #EC71D1
triadic
#C971EC #ECC971 #71ECC9
tetradic
#C971EC #EC8B71 #94EC71 #71D1EC
square
#C971EC #EC8B71 #94EC71 #71D1EC
split-complementary
#C971EC #D1EC71 #71EC8B
monochromatic
#971BC8 #B43BE5 #C971EC #DEA7F3 #F2DDFA

Accessibility & contrast

On white

2.98
#C971EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C971EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C971EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C971EC#FFFFFF#000000##000000
##C971EC1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#C784A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c971ec;
/* rgb */ color: rgb(201, 113, 236);
/* oklch */ color: oklch(69.4% 0.192 315.5);
Tailwind
colors: {
  custom: {
    50: '#dc9df2',
    500: '#c971ec',
    950: '#000000',
  },
}
SCSS
$custom: #c971ec;
$custom-light: #dc9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c971ec",
  "rgb": {
    "r": 201,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 282.927,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69428,
    "c": 0.19185,
    "h": 315.5
  },
  "luminance": 0.30284
}

Semantic roles & 50–950 ramp

primary
#C971EC
secondary
#D4EFCA
accent
#D90D47
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C971EC

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

Preview Lab → · Contrast checker → · Palette generator →

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