#9C78FA#9C78FA

#9C78FA is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.7% C 0.186 H 293.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9C78FA
RGBrgb(156, 120, 250)
HSLhsl(257, 93%, 73%)
HSVhsv(257, 52%, 98%)
CMYKcmyk(37.6%, 52%, 0%, 2%)
CIE-LABlab(59.34, 42.54, -60.35)
CIE-LCHlch(59.34, 73.83, 305.18°)
OKLaboklab(66.71% 0.0743 -0.171)
OKLCHoklch(66.71% 0.186 293.5)
XYZxyz(37.6775, 27.4021, 93.7280)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C78FA #D6FA78
analogous
#7895FA #9C78FA #DD78FA
triadic
#9C78FA #FA9C78 #78FA9C
tetradic
#9C78FA #FA7895 #D6FA78 #78FADD
square
#9C78FA #FA7895 #D6FA78 #78FADD
split-complementary
#9C78FA #FADD78 #95FA78
monochromatic
#4909EF #713DF8 #9C78FA #C7B3FC #E9E1FE

Accessibility & contrast

On white

3.24
#9C78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9C78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C78FA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C78FA#FFFFFF#000000##000000
##9C78FA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FE
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#8493AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c78fa;
/* rgb */ color: rgb(156, 120, 250);
/* oklch */ color: oklch(66.7% 0.186 293.5);
Tailwind
colors: {
  custom: {
    50: '#bea0fd',
    500: '#9c78fa',
    950: '#000000',
  },
}
SCSS
$custom: #9c78fa;
$custom-light: #bea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c78fa",
  "rgb": {
    "r": 156,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 256.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.18645,
    "h": 293.5
  },
  "luminance": 0.27403
}

Semantic roles & 50–950 ramp

primary
#9C78FA
secondary
#EDF6D5
accent
#E600A6
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #9C78FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9C78FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva