#C370EF#C370EF

#C370EF is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.8% C 0.194 H 312.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#C370EF
RGBrgb(195, 112, 239)
HSLhsl(279, 80%, 69%)
HSVhsv(279, 53%, 94%)
CMYKcmyk(18.4%, 53.1%, 0%, 6.3%)
CIE-LABlab(61.15, 53.87, -51.14)
CIE-LCHlch(61.15, 74.28, 316.49°)
OKLaboklab(68.77% 0.1313 -0.143)
OKLCHoklch(68.77% 0.194 312.5)
XYZxyz(43.8771, 29.4235, 85.0125)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C370EF #9CEF70
analogous
#8470EF #C370EF #EF70DB
triadic
#C370EF #EFC370 #70EFC3
tetradic
#C370EF #EF8470 #9CEF70 #70DBEF
square
#C370EF #EF8470 #9CEF70 #70DBEF
split-complementary
#C370EF #DBEF70 #70EF84
monochromatic
#8E17CE #AC39E9 #C370EF #DAA7F5 #F1DEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C370EF#FFFFFF#000000##000000
##C370EF1.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)
#4E8FF3
Deuteranopia (green-blind)
#6A95EC
Tritanopia (blue-blind)
#BF85A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c370ef;
/* rgb */ color: rgb(195, 112, 239);
/* oklch */ color: oklch(68.8% 0.194 312.5);
Tailwind
colors: {
  custom: {
    50: '#d89cf5',
    500: '#c370ef',
    950: '#000000',
  },
}
SCSS
$custom: #c370ef;
$custom-light: #d89cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c370ef",
  "rgb": {
    "r": 195,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 279.213,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.19414,
    "h": 312.5
  },
  "luminance": 0.29422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C370EF

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

Preview Lab → · Contrast checker → · Palette generator →

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