#C371EA#C371EA

#C371EA is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.6% C 0.187 H 313.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C371EA
RGBrgb(195, 113, 234)
HSLhsl(281, 74%, 68%)
HSVhsv(281, 52%, 92%)
CMYKcmyk(16.7%, 51.7%, 0%, 8.2%)
CIE-LABlab(61.09, 52.31, -48.46)
CIE-LCHlch(61.09, 71.31, 317.19°)
OKLaboklab(68.65% 0.1296 -0.1352)
OKLCHoklch(68.65% 0.187 313.8)
XYZxyz(43.2596, 29.3540, 81.2130)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371EA #98EA71
analogous
#8671EA #C371EA #EA71D4
triadic
#C371EA #EAC371 #71EAC3
tetradic
#C371EA #EA8671 #98EA71 #71D4EA
square
#C371EA #EA8671 #98EA71 #71D4EA
split-complementary
#C371EA #D4EA71 #71EA86
monochromatic
#8E1DC4 #AC3CE2 #C371EA #DAA6F2 #F0DCFA

Accessibility & contrast

On white

3.06
#C371EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#C371EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371EA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371EA#FFFFFF#000000##000000
##C371EA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#C084A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c371ea;
/* rgb */ color: rgb(195, 113, 234);
/* oklch */ color: oklch(68.6% 0.187 313.8);
Tailwind
colors: {
  custom: {
    50: '#d89cf1',
    500: '#c371ea',
    950: '#000000',
  },
}
SCSS
$custom: #c371ea;
$custom-light: #d89cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c371ea",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 280.661,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68647,
    "c": 0.18727,
    "h": 313.8
  },
  "luminance": 0.29353
}

Semantic roles & 50–950 ramp

primary
#C371EA
secondary
#D5EEC9
accent
#D60F4F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371EA

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

Preview Lab → · Contrast checker → · Palette generator →

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