#9783F2#9783F2

#9783F2 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.7% C 0.160 H 289.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9783F2
RGBrgb(151, 131, 242)
HSLhsl(251, 81%, 73%)
HSVhsv(251, 46%, 95%)
CMYKcmyk(37.6%, 45.9%, 0%, 5.1%)
CIE-LABlab(60.98, 32.96, -53.35)
CIE-LCHlch(60.98, 62.71, 301.71°)
OKLaboklab(67.68% 0.054 -0.1506)
OKLCHoklch(67.68% 0.16 289.7)
XYZxyz(36.9015, 29.2217, 87.6833)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9783F2 #DEF283
analogous
#83A6F2 #9783F2 #CE83F2
triadic
#9783F2 #F29783 #83F297
tetradic
#9783F2 #F283A6 #DEF283 #83F2CE
square
#9783F2 #F283A6 #DEF283 #83F2CE
split-complementary
#9783F2 #F2CE83 #A6F283
monochromatic
#3C18E3 #694CEC #9783F2 #C5BAF8 #E8E3FC

Accessibility & contrast

On white

3.07
#9783F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9783F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9783F2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9783F2#FFFFFF#000000##000000
##9783F21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#7F99AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9783f2;
/* rgb */ color: rgb(151, 131, 242);
/* oklch */ color: oklch(67.7% 0.160 289.7);
Tailwind
colors: {
  custom: {
    50: '#b9a7f7',
    500: '#9783f2',
    950: '#000000',
  },
}
SCSS
$custom: #9783f2;
$custom-light: #b9a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9783f2",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 250.811,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6768,
    "c": 0.16001,
    "h": 289.7
  },
  "luminance": 0.29223
}

Semantic roles & 50–950 ramp

primary
#9783F2
secondary
#EFF4D7
accent
#DD08B7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9783F2

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

Preview Lab → · Contrast checker → · Palette generator →

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