#C371EB#C371EB

#C371EB is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.7% C 0.188 H 313.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#C371EB
RGBrgb(195, 113, 235)
HSLhsl(280, 75%, 68%)
HSVhsv(280, 52%, 92%)
CMYKcmyk(17%, 51.9%, 0%, 7.8%)
CIE-LABlab(61.14, 52.52, -48.94)
CIE-LCHlch(61.14, 71.79, 317.02°)
OKLaboklab(68.7% 0.1296 -0.1366)
OKLCHoklch(68.7% 0.188 313.5)
XYZxyz(43.4037, 29.4116, 81.9717)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371EB #99EB71
analogous
#8671EB #C371EB #EB71D6
triadic
#C371EB #EBC371 #71EBC3
tetradic
#C371EB #EB8671 #99EB71 #71D6EB
square
#C371EB #EB8671 #99EB71 #71D6EB
split-complementary
#C371EB #D6EB71 #71EB86
monochromatic
#8E1CC6 #AC3BE3 #C371EB #DAA7F3 #F0DCFA

Accessibility & contrast

On white

3.05
#C371EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#C371EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371EB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371EB#FFFFFF#000000##000000
##C371EB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#BF85A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c371eb;
/* rgb */ color: rgb(195, 113, 235);
/* oklch */ color: oklch(68.7% 0.188 313.5);
Tailwind
colors: {
  custom: {
    50: '#d89cf2',
    500: '#c371eb',
    950: '#000000',
  },
}
SCSS
$custom: #c371eb;
$custom-light: #d89cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c371eb",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 280.328,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.687,
    "c": 0.18833,
    "h": 313.5
  },
  "luminance": 0.29411
}

Semantic roles & 50–950 ramp

primary
#C371EB
secondary
#D6EEC9
accent
#D70E50
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371EB

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

Preview Lab → · Contrast checker → · Palette generator →

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