#9381EA#9381EA

#9381EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.5% C 0.152 H 289.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9381EA
RGBrgb(147, 129, 234)
HSLhsl(250, 71%, 71%)
HSVhsv(250, 45%, 92%)
CMYKcmyk(37.2%, 44.9%, 0%, 8.2%)
CIE-LABlab(59.75, 30.96, -50.90)
CIE-LCHlch(59.75, 59.58, 301.31°)
OKLaboklab(66.53% 0.0508 -0.1436)
OKLCHoklch(66.53% 0.152 289.5)
XYZxyz(34.7301, 27.8431, 81.3704)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9381EA #D8EA81
analogous
#81A3EA #9381EA #C781EA
triadic
#9381EA #EA9381 #81EA93
tetradic
#9381EA #EA81A3 #D8EA81 #81EAC7
square
#9381EA #EA81A3 #D8EA81 #81EAC7
split-complementary
#9381EA #EAC781 #A3EA81
monochromatic
#4022CE #664DE1 #9381EA #C0B5F3 #E9E5FB

Accessibility & contrast

On white

3.20
#9381EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9381EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9381EA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9381EA#FFFFFF#000000##000000
##9381EA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#5D8DE8
Tritanopia (blue-blind)
#7C96AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9381ea;
/* rgb */ color: rgb(147, 129, 234);
/* oklch */ color: oklch(66.5% 0.152 289.5);
Tailwind
colors: {
  custom: {
    50: '#b6a5f1',
    500: '#9381ea',
    950: '#000000',
  },
}
SCSS
$custom: #9381ea;
$custom-light: #b6a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9381ea",
  "rgb": {
    "r": 147,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 250.286,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66534,
    "c": 0.15227,
    "h": 289.5
  },
  "luminance": 0.27844
}

Semantic roles & 50–950 ramp

primary
#9381EA
secondary
#ECF1D6
accent
#D312B2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9381EA

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

Preview Lab → · Contrast checker → · Palette generator →

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