#9D78FA#9D78FA

#9D78FA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.187 H 293.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D78FA
RGBrgb(157, 120, 250)
HSLhsl(257, 93%, 73%)
HSVhsv(257, 52%, 98%)
CMYKcmyk(37.2%, 52%, 0%, 2%)
CIE-LABlab(59.44, 42.77, -60.20)
CIE-LCHlch(59.44, 73.84, 305.39°)
OKLaboklab(66.8% 0.0755 -0.1706)
OKLCHoklch(66.8% 0.187 293.9)
XYZxyz(37.8719, 27.5023, 93.7371)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D78FA #D5FA78
analogous
#7894FA #9D78FA #DE78FA
triadic
#9D78FA #FA9D78 #78FA9D
tetradic
#9D78FA #FA7894 #D5FA78 #78FADE
square
#9D78FA #FA7894 #D5FA78 #78FADE
split-complementary
#9D78FA #FADE78 #94FA78
monochromatic
#4A09EF #723DF8 #9D78FA #C8B3FC #EAE1FE

Accessibility & contrast

On white

3.23
#9D78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9D78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D78FA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D78FA#FFFFFF#000000##000000
##9D78FA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FE
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#8692AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d78fa;
/* rgb */ color: rgb(157, 120, 250);
/* oklch */ color: oklch(66.8% 0.187 293.9);
Tailwind
colors: {
  custom: {
    50: '#bea0fd',
    500: '#9d78fa',
    950: '#000000',
  },
}
SCSS
$custom: #9d78fa;
$custom-light: #bea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d78fa",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 257.077,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.18651,
    "h": 293.9
  },
  "luminance": 0.27503
}

Semantic roles & 50–950 ramp

primary
#9D78FA
secondary
#EDF6D5
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9D78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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