#C971F6#C971F6

#C971F6 is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 70.0% C 0.202 H 312.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C971F6
RGBrgb(201, 113, 246)
HSLhsl(280, 88%, 70%)
HSVhsv(280, 54%, 96%)
CMYKcmyk(18.3%, 54.1%, 0%, 3.5%)
CIE-LABlab(62.41, 56.36, -52.98)
CIE-LCHlch(62.41, 77.35, 316.77°)
OKLaboklab(69.97% 0.1376 -0.1482)
OKLCHoklch(69.97% 0.202 312.9)
XYZxyz(46.6242, 30.8827, 90.6758)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C971F6 #9EF671
analogous
#8671F6 #C971F6 #F671E1
triadic
#C971F6 #F6C971 #71F6C9
tetradic
#C971F6 #F68671 #9EF671 #71E1F6
square
#C971F6 #F68671 #9EF671 #71E1F6
split-complementary
#C971F6 #E1F671 #71F686
monochromatic
#980EDE #B337F2 #C971F6 #DFABFA #F4E2FD

Accessibility & contrast

On white

2.93
#C971F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C971F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C971F6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C971F6#FFFFFF#000000##000000
##C971F61.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#C587A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c971f6;
/* rgb */ color: rgb(201, 113, 246);
/* oklch */ color: oklch(70.0% 0.202 312.9);
Tailwind
colors: {
  custom: {
    50: '#dc9dfa',
    500: '#c971f6',
    950: '#000000',
  },
}
SCSS
$custom: #c971f6;
$custom-light: #dc9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c971f6",
  "rgb": {
    "r": 201,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 279.699,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.20227,
    "h": 312.9
  },
  "luminance": 0.30882
}

Semantic roles & 50–950 ramp

primary
#C971F6
secondary
#DBF4CF
accent
#E5014E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C971F6

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

Preview Lab → · Contrast checker → · Palette generator →

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