#C371FD#C371FD

#C371FD is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 69.7% C 0.208 H 309.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#C371FD
RGBrgb(195, 113, 253)
HSLhsl(275, 97%, 72%)
HSVhsv(275, 55%, 99%)
CMYKcmyk(22.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(62.09, 56.37, -57.39)
CIE-LCHlch(62.09, 80.44, 314.49°)
OKLaboklab(69.7% 0.1308 -0.1613)
OKLCHoklch(69.7% 0.208 309)
XYZxyz(46.1370, 30.5049, 96.3670)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371FD #ABFD71
analogous
#7D71FD #C371FD #FD71F1
triadic
#C371FD #FDC371 #71FDC3
tetradic
#C371FD #FD7D71 #ABFD71 #71F1FD
square
#C371FD #FD7D71 #ABFD71 #71F1FD
split-complementary
#C371FD #F1FD71 #71FD7D
monochromatic
#8E03F0 #AA35FC #C371FD #DDADFE #F2E1FF

Accessibility & contrast

On white

2.96
#C371FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#C371FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C371FD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371FD#FFFFFF#000000##000000
##C371FD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#BB8AAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c371fd;
/* rgb */ color: rgb(195, 113, 253);
/* oklch */ color: oklch(69.7% 0.208 309.0);
Tailwind
colors: {
  custom: {
    50: '#d89dff',
    500: '#c371fd',
    950: '#000000',
  },
}
SCSS
$custom: #c371fd;
$custom-light: #d89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c371fd",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 275.143,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.20763,
    "h": 309
  },
  "luminance": 0.30504
}

Semantic roles & 50–950 ramp

primary
#C371FD
secondary
#E2F7D3
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C371FD

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

Preview Lab → · Contrast checker → · Palette generator →

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