#9783EB#9783EB

#9783EB is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.3% C 0.151 H 290.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9783EB
RGBrgb(151, 131, 235)
HSLhsl(252, 72%, 72%)
HSVhsv(252, 44%, 92%)
CMYKcmyk(35.7%, 44.3%, 0%, 7.8%)
CIE-LABlab(60.61, 31.10, -50.06)
CIE-LCHlch(60.61, 58.93, 301.85°)
OKLaboklab(67.29% 0.053 -0.141)
OKLCHoklch(67.29% 0.151 290.6)
XYZxyz(35.8702, 28.8092, 82.2520)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9783EB #D7EB83
analogous
#83A3EB #9783EB #CB83EB
triadic
#9783EB #EB9783 #83EB97
tetradic
#9783EB #EB83A3 #D7EB83 #83EBCB
square
#9783EB #EB83A3 #D7EB83 #83EBCB
split-complementary
#9783EB #EBCB83 #A3EB83
monochromatic
#4422D2 #6B4EE2 #9783EB #C3B8F4 #E9E5FB

Accessibility & contrast

On white

3.11
#9783EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#9783EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9783EB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9783EB#FFFFFF#000000##000000
##9783EB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#8297AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9783eb;
/* rgb */ color: rgb(151, 131, 235);
/* oklch */ color: oklch(67.3% 0.151 290.6);
Tailwind
colors: {
  custom: {
    50: '#b9a7f2',
    500: '#9783eb',
    950: '#000000',
  },
}
SCSS
$custom: #9783eb;
$custom-light: #b9a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9783eb",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 235
  },
  "hsl": {
    "h": 251.538,
    "s": 72.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67287,
    "c": 0.15065,
    "h": 290.6
  },
  "luminance": 0.2881
}

Semantic roles & 50–950 ramp

primary
#9783EB
secondary
#EDF2D8
accent
#D411AF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9783EB

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

Preview Lab → · Contrast checker → · Palette generator →

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