#C378EA#C378EA

#C378EA is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.176 H 313.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C378EA
RGBrgb(195, 120, 234)
HSLhsl(279, 73%, 69%)
HSVhsv(279, 49%, 92%)
CMYKcmyk(16.7%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.49, 48.69, -46.26)
CIE-LCHlch(62.49, 67.16, 316.47°)
OKLaboklab(69.68% 0.1202 -0.1288)
OKLCHoklch(69.68% 0.176 313)
XYZxyz(44.0709, 30.9766, 81.4834)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378EA #9FEA78
analogous
#8A78EA #C378EA #EA78D8
triadic
#C378EA #EAC378 #78EAC3
tetradic
#C378EA #EA8A78 #9FEA78 #78D8EA
square
#C378EA #EA8A78 #9FEA78 #78D8EA
split-complementary
#C378EA #D8EA78 #78EA8A
monochromatic
#8F1FC8 #AB43E2 #C378EA #DBADF2 #F2E2FA

Accessibility & contrast

On white

2.92
#C378EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C378EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378EA#FFFFFF#000000##000000
##C378EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#BF8AA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c378ea;
/* rgb */ color: rgb(195, 120, 234);
/* oklch */ color: oklch(69.7% 0.176 313.0);
Tailwind
colors: {
  custom: {
    50: '#d7a1f1',
    500: '#c378ea',
    950: '#000000',
  },
}
SCSS
$custom: #c378ea;
$custom-light: #d7a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c378ea",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 279.474,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69679,
    "c": 0.1762,
    "h": 313
  },
  "luminance": 0.30976
}

Semantic roles & 50–950 ramp

primary
#C378EA
secondary
#DAEFCE
accent
#D51054
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378EA

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

Preview Lab → · Contrast checker → · Palette generator →

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