#C371F8#C371F8

#C371F8 is a light, highly saturated violet. Relative luminance 0.302; OKLCH L 69.4% C 0.202 H 310.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C371F8
RGBrgb(195, 113, 248)
HSLhsl(276, 91%, 71%)
HSVhsv(276, 54%, 97%)
CMYKcmyk(21.4%, 54.4%, 0%, 2.7%)
CIE-LABlab(61.82, 55.28, -55.06)
CIE-LCHlch(61.82, 78.03, 315.12°)
OKLaboklab(69.42% 0.1306 -0.1545)
OKLCHoklch(69.42% 0.202 310.2)
XYZxyz(45.3509, 30.1905, 92.2270)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371F8 #A6F871
analogous
#7F71F8 #C371F8 #F871EA
triadic
#C371F8 #F8C371 #71F8C3
tetradic
#C371F8 #F87F71 #A6F871 #71EAF8
square
#C371F8 #F87F71 #A6F871 #71EAF8
split-complementary
#C371F8 #EAF871 #71F87F
monochromatic
#8F0BE3 #AA37F5 #C371F8 #DCABFB #F3E2FE

Accessibility & contrast

On white

2.98
#C371F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C371F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C371F8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371F8#FFFFFF#000000##000000
##C371F81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#BC89AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c371f8;
/* rgb */ color: rgb(195, 113, 248);
/* oklch */ color: oklch(69.4% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#d89dfb',
    500: '#c371f8',
    950: '#000000',
  },
}
SCSS
$custom: #c371f8;
$custom-light: #d89dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c371f8",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 276.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.20225,
    "h": 310.2
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#C371F8
secondary
#DFF5D0
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371F8

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

Preview Lab → · Contrast checker → · Palette generator →

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