#C378FE#C378FE

#C378FE is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.8% C 0.198 H 308.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C378FE
RGBrgb(195, 120, 254)
HSLhsl(274, 99%, 73%)
HSVhsv(274, 53%, 100%)
CMYKcmyk(23.2%, 52.8%, 0%, 0.4%)
CIE-LABlab(63.50, 53.01, -55.69)
CIE-LCHlch(63.50, 76.89, 313.59°)
OKLaboklab(70.76% 0.122 -0.1563)
OKLCHoklch(70.76% 0.198 308)
XYZxyz(47.1080, 32.1914, 97.4786)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378FE #B3FE78
analogous
#8078FE #C378FE #FE78F6
triadic
#C378FE #FEC378 #78FEC3
tetradic
#C378FE #FE8078 #B3FE78 #78F6FE
square
#C378FE #FE8078 #B3FE78 #78F6FE
split-complementary
#C378FE #F6FE78 #78FE80
monochromatic
#8D02FA #A83BFE #C378FE #DEB5FE #F1E1FF

Accessibility & contrast

On white

2.82
#C378FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#C378FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378FE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378FE#FFFFFF#000000##000000
##C378FE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#BA90B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c378fe;
/* rgb */ color: rgb(195, 120, 254);
/* oklch */ color: oklch(70.8% 0.198 308.0);
Tailwind
colors: {
  custom: {
    50: '#d8a1ff',
    500: '#c378fe',
    950: '#000000',
  },
}
SCSS
$custom: #c378fe;
$custom-light: #d8a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c378fe",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 273.582,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70758,
    "c": 0.19829,
    "h": 308
  },
  "luminance": 0.32191
}

Semantic roles & 50–950 ramp

primary
#C378FE
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C378FE

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

Preview Lab → · Contrast checker → · Palette generator →

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