#C371F7#C371F7

#C371F7 is a light, highly saturated violet. Relative luminance 0.301; OKLCH L 69.4% C 0.201 H 310.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C371F7
RGBrgb(195, 113, 247)
HSLhsl(277, 89%, 71%)
HSVhsv(277, 54%, 97%)
CMYKcmyk(21.1%, 54.3%, 0%, 3.1%)
CIE-LABlab(61.77, 55.07, -54.60)
CIE-LCHlch(61.77, 77.55, 315.25°)
OKLaboklab(69.36% 0.1305 -0.1531)
OKLCHoklch(69.36% 0.201 310.4)
XYZxyz(45.1962, 30.1286, 91.4122)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371F7 #A5F771
analogous
#8071F7 #C371F7 #F771E8
triadic
#C371F7 #F7C371 #71F7C3
tetradic
#C371F7 #F78071 #A5F771 #71E8F7
square
#C371F7 #F78071 #A5F771 #71E8F7
split-complementary
#C371F7 #E8F771 #71F780
monochromatic
#8F0DE1 #AB37F4 #C371F7 #DBABFA #F3E2FD

Accessibility & contrast

On white

2.99
#C371F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C371F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C371F7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371F7#FFFFFF#000000##000000
##C371F71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#BD89AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c371f7;
/* rgb */ color: rgb(195, 113, 247);
/* oklch */ color: oklch(69.4% 0.201 310.4);
Tailwind
colors: {
  custom: {
    50: '#d89dfa',
    500: '#c371f7',
    950: '#000000',
  },
}
SCSS
$custom: #c371f7;
$custom-light: #d89dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c371f7",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 276.716,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6936,
    "c": 0.20117,
    "h": 310.4
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#C371F7
secondary
#DEF4D0
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371F7

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

Preview Lab → · Contrast checker → · Palette generator →

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