#9783EF#9783EF

#9783EF is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.5% C 0.156 H 290.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9783EF
RGBrgb(151, 131, 239)
HSLhsl(251, 77%, 73%)
HSVhsv(251, 45%, 94%)
CMYKcmyk(36.8%, 45.2%, 0%, 6.3%)
CIE-LABlab(60.82, 32.16, -51.95)
CIE-LCHlch(60.82, 61.10, 301.76°)
OKLaboklab(67.51% 0.0536 -0.1465)
OKLCHoklch(67.51% 0.156 290.1)
XYZxyz(36.4546, 29.0429, 85.3298)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9783EF #DBEF83
analogous
#83A5EF #9783EF #CD83EF
triadic
#9783EF #EF9783 #83EF97
tetradic
#9783EF #EF83A5 #DBEF83 #83EFCD
square
#9783EF #EF83A5 #DBEF83 #83EFCD
split-complementary
#9783EF #EFCD83 #A5EF83
monochromatic
#401CDB #6A4DE8 #9783EF #C4B9F6 #E8E4FC

Accessibility & contrast

On white

3.08
#9783EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#9783EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9783EF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9783EF#FFFFFF#000000##000000
##9783EF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#8098AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9783ef;
/* rgb */ color: rgb(151, 131, 239);
/* oklch */ color: oklch(67.5% 0.156 290.1);
Tailwind
colors: {
  custom: {
    50: '#b9a7f5',
    500: '#9783ef',
    950: '#000000',
  },
}
SCSS
$custom: #9783ef;
$custom-light: #b9a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9783ef",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 239
  },
  "hsl": {
    "h": 251.111,
    "s": 77.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6751,
    "c": 0.15601,
    "h": 290.1
  },
  "luminance": 0.29044
}

Semantic roles & 50–950 ramp

primary
#9783EF
secondary
#EEF3D8
accent
#D90CB3
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9783EF

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

Preview Lab → · Contrast checker → · Palette generator →

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