#9B78FA#9B78FA

#9B78FA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.186 H 293.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9B78FA
RGBrgb(155, 120, 250)
HSLhsl(256, 93%, 73%)
HSVhsv(256, 52%, 98%)
CMYKcmyk(38%, 52%, 0%, 2%)
CIE-LABlab(59.25, 42.30, -60.50)
CIE-LCHlch(59.25, 73.82, 304.96°)
OKLaboklab(66.62% 0.073 -0.1715)
OKLCHoklch(66.62% 0.186 293.1)
XYZxyz(37.4848, 27.3027, 93.7189)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B78FA #D7FA78
analogous
#7896FA #9B78FA #DC78FA
triadic
#9B78FA #FA9B78 #78FA9B
tetradic
#9B78FA #FA7896 #D7FA78 #78FADC
square
#9B78FA #FA7896 #D7FA78 #78FADC
split-complementary
#9B78FA #FADC78 #96FA78
monochromatic
#4709EF #6F3DF8 #9B78FA #C7B3FC #E9E1FE

Accessibility & contrast

On white

3.25
#9B78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9B78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B78FA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B78FA#FFFFFF#000000##000000
##9B78FA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#8393AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b78fa;
/* rgb */ color: rgb(155, 120, 250);
/* oklch */ color: oklch(66.6% 0.186 293.1);
Tailwind
colors: {
  custom: {
    50: '#bda0fd',
    500: '#9b78fa',
    950: '#000000',
  },
}
SCSS
$custom: #9b78fa;
$custom-light: #bda0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b78fa",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 256.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.18641,
    "h": 293.1
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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