#9B78EE#9B78EE

#9B78EE is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.9% C 0.171 H 294.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9B78EE
RGBrgb(155, 120, 238)
HSLhsl(258, 78%, 70%)
HSVhsv(258, 50%, 93%)
CMYKcmyk(34.9%, 49.6%, 0%, 6.7%)
CIE-LABlab(58.58, 39.17, -54.94)
CIE-LCHlch(58.58, 67.47, 305.49°)
OKLaboklab(65.9% 0.0722 -0.1552)
OKLCHoklch(65.9% 0.171 294.9)
XYZxyz(35.6627, 26.5739, 84.1227)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B78EE #CBEE78
analogous
#7890EE #9B78EE #D678EE
triadic
#9B78EE #EE9B78 #78EE9B
tetradic
#9B78EE #EE7890 #CBEE78 #78EED6
square
#9B78EE #EE7890 #CBEE78 #78EED6
split-complementary
#9B78EE #EED678 #90EE78
monochromatic
#511AD1 #7342E7 #9B78EE #C3AEF5 #EBE4FC

Accessibility & contrast

On white

3.33
#9B78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9B78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B78EE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B78EE#FFFFFF#000000##000000
##9B78EE1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF2
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#888FA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b78ee;
/* rgb */ color: rgb(155, 120, 238);
/* oklch */ color: oklch(65.9% 0.171 294.9);
Tailwind
colors: {
  custom: {
    50: '#bc9ff4',
    500: '#9b78ee',
    950: '#000000',
  },
}
SCSS
$custom: #9b78ee;
$custom-light: #bc9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b78ee",
  "rgb": {
    "r": 155,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 257.797,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65896,
    "c": 0.17116,
    "h": 294.9
  },
  "luminance": 0.26575
}

Semantic roles & 50–950 ramp

primary
#9B78EE
secondary
#E8F1D1
accent
#DA0C9D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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