#C378F8#C378F8

#C378F8 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.192 H 309.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C378F8
RGBrgb(195, 120, 248)
HSLhsl(275, 90%, 72%)
HSVhsv(275, 52%, 97%)
CMYKcmyk(21.4%, 51.6%, 0%, 2.7%)
CIE-LABlab(63.19, 51.70, -52.89)
CIE-LCHlch(63.19, 73.96, 314.35°)
OKLaboklab(70.43% 0.1216 -0.1481)
OKLCHoklch(70.43% 0.192 309.4)
XYZxyz(46.1622, 31.8131, 92.4975)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378F8 #ADF878
analogous
#8378F8 #C378F8 #F878ED
triadic
#C378F8 #F8C378 #78F8C3
tetradic
#C378F8 #F88378 #ADF878 #78EDF8
square
#C378F8 #F88378 #ADF878 #78EDF8
split-complementary
#C378F8 #EDF878 #78F883
monochromatic
#8E0CE9 #A93EF5 #C378F8 #DDB2FB #F2E2FD

Accessibility & contrast

On white

2.85
#C378F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C378F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378F8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378F8#FFFFFF#000000##000000
##C378F81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#BC8EAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c378f8;
/* rgb */ color: rgb(195, 120, 248);
/* oklch */ color: oklch(70.4% 0.192 309.4);
Tailwind
colors: {
  custom: {
    50: '#d8a1fb',
    500: '#c378f8',
    950: '#000000',
  },
}
SCSS
$custom: #c378f8;
$custom-light: #d8a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c378f8",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 275.156,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70426,
    "c": 0.19164,
    "h": 309.4
  },
  "luminance": 0.31812
}

Semantic roles & 50–950 ramp

primary
#C378F8
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378F8

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

Preview Lab → · Contrast checker → · Palette generator →

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