#C378EC#C378EC

#C378EC is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.178 H 312.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C378EC
RGBrgb(195, 120, 236)
HSLhsl(279, 75%, 70%)
HSVhsv(279, 49%, 93%)
CMYKcmyk(17.4%, 49.2%, 0%, 7.5%)
CIE-LABlab(62.59, 49.11, -47.21)
CIE-LCHlch(62.59, 68.12, 316.13°)
OKLaboklab(69.78% 0.1204 -0.1316)
OKLCHoklch(69.78% 0.178 312.5)
XYZxyz(44.3599, 31.0922, 83.0052)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378EC #A1EC78
analogous
#8978EC #C378EC #EC78DB
triadic
#C378EC #ECC378 #78ECC3
tetradic
#C378EC #EC8978 #A1EC78 #78DBEC
square
#C378EC #EC8978 #A1EC78 #78DBEC
split-complementary
#C378EC #DBEC78 #78EC89
monochromatic
#8F1DCD #AB42E4 #C378EC #DBAEF4 #F3E3FB

Accessibility & contrast

On white

2.91
#C378EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C378EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378EC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378EC#FFFFFF#000000##000000
##C378EC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#BF8AA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c378ec;
/* rgb */ color: rgb(195, 120, 236);
/* oklch */ color: oklch(69.8% 0.178 312.5);
Tailwind
colors: {
  custom: {
    50: '#d7a1f2',
    500: '#c378ec',
    950: '#000000',
  },
}
SCSS
$custom: #c378ec;
$custom-light: #d7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c378ec",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 278.793,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69784,
    "c": 0.1784,
    "h": 312.5
  },
  "luminance": 0.31091
}

Semantic roles & 50–950 ramp

primary
#C378EC
secondary
#DBF0D0
accent
#D70E55
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378EC

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

Preview Lab → · Contrast checker → · Palette generator →

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