#C371FA#C371FA

#C371FA is a light, highly saturated violet. Relative luminance 0.303; OKLCH L 69.5% C 0.204 H 309.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C371FA
RGBrgb(195, 113, 250)
HSLhsl(276, 93%, 71%)
HSVhsv(276, 55%, 98%)
CMYKcmyk(22%, 54.8%, 0%, 2%)
CIE-LABlab(61.93, 55.72, -56.00)
CIE-LCHlch(61.93, 78.99, 314.86°)
OKLaboklab(69.53% 0.1306 -0.1572)
OKLCHoklch(69.53% 0.204 309.7)
XYZxyz(45.6628, 30.3153, 93.8699)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371FA #A8FA71
analogous
#7E71FA #C371FA #FA71ED
triadic
#C371FA #FAC371 #71FAC3
tetradic
#C371FA #FA7E71 #A8FA71 #71EDFA
square
#C371FA #FA7E71 #A8FA71 #71EDFA
split-complementary
#C371FA #EDFA71 #71FA7E
monochromatic
#8E08E8 #AA36F8 #C371FA #DCACFC #F3E1FE

Accessibility & contrast

On white

2.97
#C371FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C371FA#FFFFFF#000000##000000
##C371FA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#BC89AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c371fa;
/* rgb */ color: rgb(195, 113, 250);
/* oklch */ color: oklch(69.5% 0.204 309.7);
Tailwind
colors: {
  custom: {
    50: '#d89dfc',
    500: '#c371fa',
    950: '#000000',
  },
}
SCSS
$custom: #c371fa;
$custom-light: #d89dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c371fa",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 275.912,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6953,
    "c": 0.2044,
    "h": 309.7
  },
  "luminance": 0.30314
}

Semantic roles & 50–950 ramp

primary
#C371FA
secondary
#E0F5D1
accent
#E6005C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C371FA

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

Preview Lab → · Contrast checker → · Palette generator →

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