#C371EF#C371EF

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

Color values

HEX#C371EF
RGBrgb(195, 113, 239)
HSLhsl(279, 80%, 69%)
HSVhsv(279, 53%, 94%)
CMYKcmyk(18.4%, 52.7%, 0%, 6.3%)
CIE-LABlab(61.35, 53.36, -50.83)
CIE-LCHlch(61.35, 73.70, 316.39°)
OKLaboklab(68.92% 0.13 -0.1421)
OKLCHoklch(68.92% 0.193 312.4)
XYZxyz(43.9881, 29.6454, 85.0495)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C371EF #9DEF71
analogous
#8471EF #C371EF #EF71DC
triadic
#C371EF #EFC371 #71EFC3
tetradic
#C371EF #EF8471 #9DEF71 #71DCEF
square
#C371EF #EF8471 #9DEF71 #71DCEF
split-complementary
#C371EF #DCEF71 #71EF84
monochromatic
#8E17CE #AC3AE9 #C371EF #DAA8F5 #F1DFFB

Accessibility & contrast

On white

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

On black

6.93
#C371EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C371EF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C371EF#FFFFFF#000000##000000
##C371EF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#BF86A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c371ef;
/* rgb */ color: rgb(195, 113, 239);
/* oklch */ color: oklch(68.9% 0.193 312.4);
Tailwind
colors: {
  custom: {
    50: '#d89df5',
    500: '#c371ef',
    950: '#000000',
  },
}
SCSS
$custom: #c371ef;
$custom-light: #d89df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c371ef",
  "rgb": {
    "r": 195,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 279.048,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.1926,
    "h": 312.4
  },
  "luminance": 0.29644
}

Semantic roles & 50–950 ramp

primary
#C371EF
secondary
#D8F0CB
accent
#DC0953
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C371EF

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

Preview Lab → · Contrast checker → · Palette generator →

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