#9783EC#9783EC

#9783EC is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.3% C 0.152 H 290.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9783EC
RGBrgb(151, 131, 236)
HSLhsl(251, 73%, 72%)
HSVhsv(251, 44%, 93%)
CMYKcmyk(36%, 44.5%, 0%, 7.5%)
CIE-LABlab(60.66, 31.37, -50.53)
CIE-LCHlch(60.66, 59.47, 301.83°)
OKLaboklab(67.34% 0.0532 -0.1424)
OKLCHoklch(67.34% 0.152 290.5)
XYZxyz(36.0151, 28.8671, 83.0150)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9783EC #D8EC83
analogous
#83A3EC #9783EC #CC83EC
triadic
#9783EC #EC9783 #83EC97
tetradic
#9783EC #EC83A3 #D8EC83 #83ECCC
square
#9783EC #EC83A3 #D8EC83 #83ECCC
split-complementary
#9783EC #ECCC83 #A3EC83
monochromatic
#4320D4 #6A4EE4 #9783EC #C4B8F4 #E9E4FB

Accessibility & contrast

On white

3.10
#9783EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9783EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9783EC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9783EC#FFFFFF#000000##000000
##9783EC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#8197AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9783ec;
/* rgb */ color: rgb(151, 131, 236);
/* oklch */ color: oklch(67.3% 0.152 290.5);
Tailwind
colors: {
  custom: {
    50: '#b9a7f2',
    500: '#9783ec',
    950: '#000000',
  },
}
SCSS
$custom: #9783ec;
$custom-light: #b9a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9783ec",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 236
  },
  "hsl": {
    "h": 251.429,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.15199,
    "h": 290.5
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#9783EC
secondary
#EEF3D8
accent
#D610B0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9783EC

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

Preview Lab → · Contrast checker → · Palette generator →

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