#C378EF#C378EF

#C378EF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.182 H 311.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C378EF
RGBrgb(195, 120, 239)
HSLhsl(278, 79%, 70%)
HSVhsv(278, 50%, 94%)
CMYKcmyk(18.4%, 49.8%, 0%, 6.3%)
CIE-LABlab(62.73, 49.75, -48.64)
CIE-LCHlch(62.73, 69.58, 315.65°)
OKLaboklab(69.94% 0.1208 -0.1358)
OKLCHoklch(69.94% 0.182 311.6)
XYZxyz(44.7994, 31.2680, 85.3200)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378EF #A4EF78
analogous
#8778EF #C378EF #EF78E0
triadic
#C378EF #EFC378 #78EFC3
tetradic
#C378EF #EF8778 #A4EF78 #78E0EF
square
#C378EF #EF8778 #A4EF78 #78E0EF
split-complementary
#C378EF #E0EF78 #78EF87
monochromatic
#8F19D4 #AB41E9 #C378EF #DBAFF5 #F3E4FC

Accessibility & contrast

On white

2.90
#C378EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C378EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378EF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378EF#FFFFFF#000000##000000
##C378EF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#BE8BA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c378ef;
/* rgb */ color: rgb(195, 120, 239);
/* oklch */ color: oklch(69.9% 0.182 311.6);
Tailwind
colors: {
  custom: {
    50: '#d7a1f5',
    500: '#c378ef',
    950: '#000000',
  },
}
SCSS
$custom: #c378ef;
$custom-light: #d7a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c378ef",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 277.815,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.1817,
    "h": 311.6
  },
  "luminance": 0.31267
}

Semantic roles & 50–950 ramp

primary
#C378EF
secondary
#DDF2D1
accent
#DB0A58
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378EF

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

Preview Lab → · Contrast checker → · Palette generator →

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