#C371FF#C371FF

#C371FF is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.8% C 0.210 H 308.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C371FF
RGBrgb(195, 113, 255)
HSLhsl(275, 100%, 72%)
HSVhsv(275, 56%, 100%)
CMYKcmyk(23.5%, 55.7%, 0%, 0%)
CIE-LABlab(62.20, 56.81, -58.31)
CIE-LCHlch(62.20, 81.41, 314.25°)
OKLaboklab(69.82% 0.1309 -0.164)
OKLCHoklch(69.82% 0.21 308.6)
XYZxyz(46.4572, 30.6330, 98.0538)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371FF #ADFF71
analogous
#7C71FF #C371FF #FF71F4
triadic
#C371FF #FFC371 #71FFC3
tetradic
#C371FF #FF7C71 #ADFF71 #71F4FF
square
#C371FF #FF7C71 #ADFF71 #71F4FF
split-complementary
#C371FF #F4FF71 #71FF7C
monochromatic
#8E00F6 #A934FF #C371FF #DDAEFF #F2E0FF

Accessibility & contrast

On white

2.95
#C371FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C371FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C371FF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371FF#FFFFFF#000000##000000
##C371FF1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4093FF
Deuteranopia (green-blind)
#5F97FC
Tritanopia (blue-blind)
#BA8BAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c371ff;
/* rgb */ color: rgb(195, 113, 255);
/* oklch */ color: oklch(69.8% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#d89dff',
    500: '#c371ff',
    950: '#000000',
  },
}
SCSS
$custom: #c371ff;
$custom-light: #d89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c371ff",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 274.648,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.20978,
    "h": 308.6
  },
  "luminance": 0.30632
}

Semantic roles & 50–950 ramp

primary
#C371FF
secondary
#E3F7D4
accent
#E60061
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C371FF

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

Preview Lab → · Contrast checker → · Palette generator →

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