#C371EE#C371EE

#C371EE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.9% C 0.192 H 312.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C371EE
RGBrgb(195, 113, 238)
HSLhsl(279, 79%, 69%)
HSVhsv(279, 53%, 93%)
CMYKcmyk(18.1%, 52.5%, 0%, 6.7%)
CIE-LABlab(61.30, 53.15, -50.36)
CIE-LCHlch(61.30, 73.22, 316.54°)
OKLaboklab(68.86% 0.1299 -0.1407)
OKLCHoklch(68.86% 0.192 312.7)
XYZxyz(43.8408, 29.5865, 84.2736)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371EE #9CEE71
analogous
#8571EE #C371EE #EE71DB
triadic
#C371EE #EEC371 #71EEC3
tetradic
#C371EE #EE8571 #9CEE71 #71DBEE
square
#C371EE #EE8571 #9CEE71 #71DBEE
split-complementary
#C371EE #DBEE71 #71EE85
monochromatic
#8E18CC #AC3AE7 #C371EE #DAA8F5 #F1DEFB

Accessibility & contrast

On white

3.04
#C371EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C371EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371EE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371EE#FFFFFF#000000##000000
##C371EE1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#BF86A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c371ee;
/* rgb */ color: rgb(195, 113, 238);
/* oklch */ color: oklch(68.9% 0.192 312.7);
Tailwind
colors: {
  custom: {
    50: '#d89df4',
    500: '#c371ee',
    950: '#000000',
  },
}
SCSS
$custom: #c371ee;
$custom-light: #d89df4;
$custom-dark: #000000;
JSON
{
  "hex": "#c371ee",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 279.36,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68862,
    "c": 0.19153,
    "h": 312.7
  },
  "luminance": 0.29585
}

Semantic roles & 50–950 ramp

primary
#C371EE
secondary
#D8F0CB
accent
#DB0B52
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371EE

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

Preview Lab → · Contrast checker → · Palette generator →

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