#9378EB#9378EB

#9378EB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.0% C 0.167 H 291.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9378EB
RGBrgb(147, 120, 235)
HSLhsl(254, 74%, 70%)
HSVhsv(254, 49%, 92%)
CMYKcmyk(37.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(57.69, 36.41, -54.73)
CIE-LCHlch(57.69, 65.74, 303.64°)
OKLaboklab(65% 0.0622 -0.1548)
OKLCHoklch(65% 0.167 291.9)
XYZxyz(33.7405, 25.6333, 81.7512)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9378EB #D0EB78
analogous
#7897EB #9378EB #CD78EB
triadic
#9378EB #EB9378 #78EB93
tetradic
#9378EB #EB7897 #D0EB78 #78EBCD
square
#9378EB #EB7897 #D0EB78 #78EBCD
split-complementary
#9378EB #EBCD78 #97EB78
monochromatic
#471ECB #6843E3 #9378EB #BEADF3 #E8E3FB

Accessibility & contrast

On white

3.43
#9378EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9378EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9378EB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9378EB#FFFFFF#000000##000000
##9378EB1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#7D8FA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9378eb;
/* rgb */ color: rgb(147, 120, 235);
/* oklch */ color: oklch(65.0% 0.167 291.9);
Tailwind
colors: {
  custom: {
    50: '#b79ff2',
    500: '#9378eb',
    950: '#000000',
  },
}
SCSS
$custom: #9378eb;
$custom-light: #b79ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9378eb",
  "rgb": {
    "r": 147,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 254.087,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65004,
    "c": 0.16684,
    "h": 291.9
  },
  "luminance": 0.25634
}

Semantic roles & 50–950 ramp

primary
#9378EB
secondary
#E8F0CF
accent
#D60FA8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9378EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9378EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva