#C378E8#C378E8

#C378E8 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.6% C 0.174 H 313.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C378E8
RGBrgb(195, 120, 232)
HSLhsl(280, 71%, 69%)
HSVhsv(280, 48%, 91%)
CMYKcmyk(15.9%, 48.3%, 0%, 9%)
CIE-LABlab(62.39, 48.27, -45.30)
CIE-LCHlch(62.39, 66.19, 316.82°)
OKLaboklab(69.58% 0.12 -0.1261)
OKLCHoklch(69.58% 0.174 313.6)
XYZxyz(43.7852, 30.8623, 79.9788)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378E8 #9DE878
analogous
#8B78E8 #C378E8 #E878D5
triadic
#C378E8 #E8C378 #78E8C3
tetradic
#C378E8 #E88B78 #9DE878 #78D5E8
square
#C378E8 #E88B78 #9DE878 #78D5E8
split-complementary
#C378E8 #D5E878 #78E88B
monochromatic
#8E21C4 #AC44DF #C378E8 #DAACF1 #F1E1FA

Accessibility & contrast

On white

2.93
#C378E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C378E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378E8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378E8#FFFFFF#000000##000000
##C378E81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EC
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#C089A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c378e8;
/* rgb */ color: rgb(195, 120, 232);
/* oklch */ color: oklch(69.6% 0.174 313.6);
Tailwind
colors: {
  custom: {
    50: '#d7a1f0',
    500: '#c378e8',
    950: '#000000',
  },
}
SCSS
$custom: #c378e8;
$custom-light: #d7a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c378e8",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 280.179,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69576,
    "c": 0.17402,
    "h": 313.6
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#C378E8
secondary
#D8EECD
accent
#D31352
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C378E8

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

Preview Lab → · Contrast checker → · Palette generator →

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