#C378F4#C378F4

#C378F4 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.2% C 0.187 H 310.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#C378F4
RGBrgb(195, 120, 244)
HSLhsl(276, 85%, 71%)
HSVhsv(276, 51%, 96%)
CMYKcmyk(20.1%, 50.8%, 0%, 4.3%)
CIE-LABlab(62.98, 50.83, -51.01)
CIE-LCHlch(62.98, 72.01, 314.90°)
OKLaboklab(70.21% 0.1212 -0.1427)
OKLCHoklch(70.21% 0.187 310.4)
XYZxyz(45.5483, 31.5675, 89.2641)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378F4 #A9F478
analogous
#8578F4 #C378F4 #F478E7
triadic
#C378F4 #F4C378 #78F4C3
tetradic
#C378F4 #F48578 #A9F478 #78E7F4
square
#C378F4 #F48578 #A9F478 #78E7F4
split-complementary
#C378F4 #E7F478 #78F485
monochromatic
#8E12DF #AA3FEF #C378F4 #DCB1F9 #F2E3FD

Accessibility & contrast

On white

2.87
#C378F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#C378F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378F4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378F4#FFFFFF#000000##000000
##C378F41.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#6E9AF1
Tritanopia (blue-blind)
#BD8DAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c378f4;
/* rgb */ color: rgb(195, 120, 244);
/* oklch */ color: oklch(70.2% 0.187 310.4);
Tailwind
colors: {
  custom: {
    50: '#d8a1f8',
    500: '#c378f4',
    950: '#000000',
  },
}
SCSS
$custom: #c378f4;
$custom-light: #d8a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c378f4",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 276.29,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.18721,
    "h": 310.4
  },
  "luminance": 0.31567
}

Semantic roles & 50–950 ramp

primary
#C378F4
secondary
#E1F4D4
accent
#E1045C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378F4

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

Preview Lab → · Contrast checker → · Palette generator →

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