#C378FB#C378FB

#C378FB is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.6% C 0.195 H 308.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C378FB
RGBrgb(195, 120, 251)
HSLhsl(274, 94%, 73%)
HSVhsv(274, 52%, 98%)
CMYKcmyk(22.3%, 52.2%, 0%, 1.6%)
CIE-LABlab(63.34, 52.35, -54.29)
CIE-LCHlch(63.34, 75.42, 313.96°)
OKLaboklab(70.59% 0.1218 -0.1522)
OKLCHoklch(70.59% 0.195 308.7)
XYZxyz(46.6313, 32.0007, 94.9683)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378FB #B0FB78
analogous
#8178FB #C378FB #FB78F2
triadic
#C378FB #FBC378 #78FBC3
tetradic
#C378FB #FB8178 #B0FB78 #78F2FB
square
#C378FB #FB8178 #B0FB78 #78F2FB
split-complementary
#C378FB #F2FB78 #78FB81
monochromatic
#8D07F1 #A93DF9 #C378FB #DDB3FD #F2E1FE

Accessibility & contrast

On white

2.84
#C378FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C378FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378FB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378FB#FFFFFF#000000##000000
##C378FB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c378fb;
/* rgb */ color: rgb(195, 120, 251);
/* oklch */ color: oklch(70.6% 0.195 308.7);
Tailwind
colors: {
  custom: {
    50: '#d8a1fd',
    500: '#c378fb',
    950: '#000000',
  },
}
SCSS
$custom: #c378fb;
$custom-light: #d8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c378fb",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 274.351,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.19497,
    "h": 308.7
  },
  "luminance": 0.32
}

Semantic roles & 50–950 ramp

primary
#C378FB
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C378FB

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

Preview Lab → · Contrast checker → · Palette generator →

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