#9B78FD#9B78FD

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

Color values

HEX#9B78FD
RGBrgb(155, 120, 253)
HSLhsl(256, 97%, 73%)
HSVhsv(256, 53%, 99%)
CMYKcmyk(38.7%, 52.6%, 0%, 0.8%)
CIE-LABlab(59.43, 43.09, -61.88)
CIE-LCHlch(59.43, 75.40, 304.85°)
OKLaboklab(66.8% 0.0732 -0.1755)
OKLCHoklch(66.8% 0.19 292.6)
XYZxyz(37.9589, 27.4924, 96.2161)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B78FD #DAFD78
analogous
#7898FD #9B78FD #DD78FD
triadic
#9B78FD #FD9B78 #78FD9B
tetradic
#9B78FD #FD7898 #DAFD78 #78FDDD
square
#9B78FD #FD7898 #DAFD78 #78FDDD
split-complementary
#9B78FD #FDDD78 #98FD78
monochromatic
#4404F7 #6E3CFC #9B78FD #C8B4FE #E9E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B78FD#FFFFFF#000000##000000
##9B78FD1.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)
#3D91FF
Deuteranopia (green-blind)
#448DFA
Tritanopia (blue-blind)
#8294AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b78fd;
/* rgb */ color: rgb(155, 120, 253);
/* oklch */ color: oklch(66.8% 0.190 292.6);
Tailwind
colors: {
  custom: {
    50: '#bda0ff',
    500: '#9b78fd',
    950: '#000000',
  },
}
SCSS
$custom: #9b78fd;
$custom-light: #bda0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b78fd",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 255.789,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.19019,
    "h": 292.6
  },
  "luminance": 0.27493
}

Semantic roles & 50–950 ramp

primary
#9B78FD
secondary
#EEF7D4
accent
#E600A9
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #9B78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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