#C371CF#C371CF

#C371CF is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.3% C 0.159 H 322.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#C371CF
RGBrgb(195, 113, 207)
HSLhsl(292, 49%, 63%)
HSVhsv(292, 45%, 81%)
CMYKcmyk(5.8%, 45.4%, 0%, 18.8%)
CIE-LABlab(59.82, 46.88, -35.34)
CIE-LCHlch(59.82, 58.70, 322.99°)
OKLaboklab(67.28% 0.126 -0.0973)
OKLCHoklch(67.28% 0.159 322.3)
XYZxyz(39.6721, 27.9190, 62.3186)
Luminance0.2792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371CF #7DCF71
analogous
#9471CF #C371CF #CF71AC
triadic
#C371CF #CFC371 #71CFC3
tetradic
#C371CF #CF9471 #7DCF71 #71ACCF
square
#C371CF #CF9471 #7DCF71 #71ACCF
split-complementary
#C371CF #ACCF71 #71CF94
monochromatic
#873294 #B043C0 #C371CF #D69FDE #EACCEE

Accessibility & contrast

On white

3.19
#C371CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#C371CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371CF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371CF#FFFFFF#000000##000000
##C371CF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD2
Deuteranopia (green-blind)
#7C93CC
Tritanopia (blue-blind)
#C57C96
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c371cf;
/* rgb */ color: rgb(195, 113, 207);
/* oklch */ color: oklch(67.3% 0.159 322.3);
Tailwind
colors: {
  custom: {
    50: '#d79cde',
    500: '#c371cf',
    950: '#000000',
  },
}
SCSS
$custom: #c371cf;
$custom-light: #d79cde;
$custom-dark: #000000;
JSON
{
  "hex": "#c371cf",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 292.34,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.1592,
    "h": 322.3
  },
  "luminance": 0.27917
}

Semantic roles & 50–950 ramp

primary
#C371CF
secondary
#C1DFBD
accent
#BD293C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C371CF

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

Preview Lab → · Contrast checker → · Palette generator →

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