#C378EE#C378EE

#C378EE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.9% C 0.181 H 311.9°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C378EE
RGBrgb(195, 120, 238)
HSLhsl(278, 78%, 70%)
HSVhsv(278, 50%, 93%)
CMYKcmyk(18.1%, 49.6%, 0%, 6.7%)
CIE-LABlab(62.68, 49.54, -48.16)
CIE-LCHlch(62.68, 69.09, 315.81°)
OKLaboklab(69.89% 0.1206 -0.1344)
OKLCHoklch(69.89% 0.181 311.9)
XYZxyz(44.6520, 31.2090, 84.5441)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378EE #A3EE78
analogous
#8878EE #C378EE #EE78DE
triadic
#C378EE #EEC378 #78EEC3
tetradic
#C378EE #EE8878 #A3EE78 #78DEEE
square
#C378EE #EE8878 #A3EE78 #78DEEE
split-complementary
#C378EE #DEEE78 #78EE88
monochromatic
#8F1AD1 #AB42E7 #C378EE #DBAEF5 #F3E4FC

Accessibility & contrast

On white

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

On black

7.24
#C378EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378EE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378EE#FFFFFF#000000##000000
##C378EE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F2
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#BE8BA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c378ee;
/* rgb */ color: rgb(195, 120, 238);
/* oklch */ color: oklch(69.9% 0.181 311.9);
Tailwind
colors: {
  custom: {
    50: '#d7a1f4',
    500: '#c378ee',
    950: '#000000',
  },
}
SCSS
$custom: #c378ee;
$custom-light: #d7a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c378ee",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 278.136,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69889,
    "c": 0.1806,
    "h": 311.9
  },
  "luminance": 0.31208
}

Semantic roles & 50–950 ramp

primary
#C378EE
secondary
#DCF1D1
accent
#DA0C57
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378EE

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

Preview Lab → · Contrast checker → · Palette generator →

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