#9381EB#9381EB

#9381EB is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.6% C 0.154 H 289.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9381EB
RGBrgb(147, 129, 235)
HSLhsl(250, 73%, 71%)
HSVhsv(250, 45%, 92%)
CMYKcmyk(37.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(59.80, 31.23, -51.37)
CIE-LCHlch(59.80, 60.12, 301.30°)
OKLaboklab(66.59% 0.0509 -0.1449)
OKLCHoklch(66.59% 0.154 289.3)
XYZxyz(34.8742, 27.9007, 82.1291)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9381EB #D9EB81
analogous
#81A4EB #9381EB #C881EB
triadic
#9381EB #EB9381 #81EB93
tetradic
#9381EB #EB81A4 #D9EB81 #81EBC8
square
#9381EB #EB81A4 #D9EB81 #81EBC8
split-complementary
#9381EB #EBC881 #A4EB81
monochromatic
#3F21D1 #664CE3 #9381EB #C0B6F3 #E8E5FB

Accessibility & contrast

On white

3.19
#9381EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9381EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9381EB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9381EB#FFFFFF#000000##000000
##9381EB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#7C96AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9381eb;
/* rgb */ color: rgb(147, 129, 235);
/* oklch */ color: oklch(66.6% 0.154 289.3);
Tailwind
colors: {
  custom: {
    50: '#b6a5f2',
    500: '#9381eb',
    950: '#000000',
  },
}
SCSS
$custom: #9381eb;
$custom-light: #b6a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9381eb",
  "rgb": {
    "r": 147,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 250.189,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.15361,
    "h": 289.3
  },
  "luminance": 0.27902
}

Semantic roles & 50–950 ramp

primary
#9381EB
secondary
#EDF2D6
accent
#D511B3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9381EB

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

Preview Lab → · Contrast checker → · Palette generator →

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