#C378FC#C378FC

#C378FC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.6% C 0.196 H 308.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#C378FC
RGBrgb(195, 120, 252)
HSLhsl(274, 96%, 73%)
HSVhsv(274, 52%, 99%)
CMYKcmyk(22.6%, 52.4%, 0%, 1.2%)
CIE-LABlab(63.40, 52.57, -54.76)
CIE-LCHlch(63.40, 75.91, 313.83°)
OKLaboklab(70.65% 0.1219 -0.1536)
OKLCHoklch(70.65% 0.196 308.4)
XYZxyz(46.7894, 32.0640, 95.8007)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378FC #B1FC78
analogous
#8178FC #C378FC #FC78F3
triadic
#C378FC #FCC378 #78FCC3
tetradic
#C378FC #FC8178 #B1FC78 #78F3FC
square
#C378FC #FC8178 #B1FC78 #78F3FC
split-complementary
#C378FC #F3FC78 #78FC81
monochromatic
#8D05F4 #A83CFB #C378FC #DEB4FD #F2E1FE

Accessibility & contrast

On white

2.83
#C378FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#C378FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378FC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378FC#FFFFFF#000000##000000
##C378FC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#699AF9
Tritanopia (blue-blind)
#BB8FAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c378fc;
/* rgb */ color: rgb(195, 120, 252);
/* oklch */ color: oklch(70.6% 0.196 308.4);
Tailwind
colors: {
  custom: {
    50: '#d8a1fe',
    500: '#c378fc',
    950: '#000000',
  },
}
SCSS
$custom: #c378fc;
$custom-light: #d8a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c378fc",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 274.091,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.19607,
    "h": 308.4
  },
  "luminance": 0.32063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C378FC

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

Preview Lab → · Contrast checker → · Palette generator →

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