#C378EB#C378EB

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

Color values

HEX#C378EB
RGBrgb(195, 120, 235)
HSLhsl(279, 74%, 70%)
HSVhsv(279, 49%, 92%)
CMYKcmyk(17%, 48.9%, 0%, 7.8%)
CIE-LABlab(62.54, 48.90, -46.73)
CIE-LCHlch(62.54, 67.64, 316.30°)
OKLaboklab(69.73% 0.1203 -0.1302)
OKLCHoklch(69.73% 0.177 312.7)
XYZxyz(44.2150, 31.0342, 82.2422)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C378EB #A0EB78
analogous
#8978EB #C378EB #EB78DA
triadic
#C378EB #EBC378 #78EBC3
tetradic
#C378EB #EB8978 #A0EB78 #78DAEB
square
#C378EB #EB8978 #A0EB78 #78DAEB
split-complementary
#C378EB #DAEB78 #78EB89
monochromatic
#8F1ECB #AB43E3 #C378EB #DBADF3 #F2E3FB

Accessibility & contrast

On white

2.91
#C378EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#C378EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C378EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C378EB#FFFFFF#000000##000000
##C378EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#BF8AA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c378eb;
/* rgb */ color: rgb(195, 120, 235);
/* oklch */ color: oklch(69.7% 0.177 312.7);
Tailwind
colors: {
  custom: {
    50: '#d7a1f2',
    500: '#c378eb',
    950: '#000000',
  },
}
SCSS
$custom: #c378eb;
$custom-light: #d7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c378eb",
  "rgb": {
    "r": 195,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 279.13,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69731,
    "c": 0.1773,
    "h": 312.7
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#C378EB
secondary
#DAF0CF
accent
#D60F54
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C378EB

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

Preview Lab → · Contrast checker → · Palette generator →

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