#C371F0#C371F0

#C371F0 is a light, vivid violet. Relative luminance 0.297; OKLCH L 69.0% C 0.194 H 312.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#C371F0
RGBrgb(195, 113, 240)
HSLhsl(279, 81%, 69%)
HSVhsv(279, 53%, 94%)
CMYKcmyk(18.8%, 52.9%, 0%, 5.9%)
CIE-LABlab(61.40, 53.57, -51.31)
CIE-LCHlch(61.40, 74.18, 316.24°)
OKLaboklab(68.97% 0.1301 -0.1435)
OKLCHoklch(68.97% 0.194 312.2)
XYZxyz(44.1362, 29.7046, 85.8297)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371F0 #9EF071
analogous
#8471F0 #C371F0 #F071DE
triadic
#C371F0 #F0C371 #71F0C3
tetradic
#C371F0 #F08471 #9EF071 #71DEF0
square
#C371F0 #F08471 #9EF071 #71DEF0
split-complementary
#C371F0 #DEF071 #71F084
monochromatic
#8E16D1 #AC3AEA #C371F0 #DAA8F6 #F2E0FC

Accessibility & contrast

On white

3.03
#C371F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#C371F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371F0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371F0#FFFFFF#000000##000000
##C371F01.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#6A96ED
Tritanopia (blue-blind)
#BE86A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c371f0;
/* rgb */ color: rgb(195, 113, 240);
/* oklch */ color: oklch(69.0% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#d89df5',
    500: '#c371f0',
    950: '#000000',
  },
}
SCSS
$custom: #c371f0;
$custom-light: #d89df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c371f0",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 278.74,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68971,
    "c": 0.19367,
    "h": 312.2
  },
  "luminance": 0.29704
}

Semantic roles & 50–950 ramp

primary
#C371F0
secondary
#D9F1CC
accent
#DD0854
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371F0

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

Preview Lab → · Contrast checker → · Palette generator →

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