#783FB5#783FB5

#783FB5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.180 H 302.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#783FB5
RGBrgb(120, 63, 181)
HSLhsl(269, 48%, 48%)
HSVhsv(269, 65%, 71%)
CMYKcmyk(33.7%, 65.2%, 0%, 29%)
CIE-LABlab(39.38, 47.67, -53.34)
CIE-LCHlch(39.38, 71.53, 311.79°)
OKLaboklab(49.82% 0.0966 -0.1515)
OKLCHoklch(49.82% 0.18 302.5)
XYZxyz(17.8618, 10.8843, 44.8670)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB5 #7CB53F
analogous
#3F41B5 #783FB5 #B33FB5
triadic
#783FB5 #B5783F #3FB578
tetradic
#783FB5 #B53F41 #7CB53F #3FB5B3
square
#783FB5 #B53F41 #7CB53F #3FB5B3
split-complementary
#783FB5 #B5B33F #41B53F
monochromatic
#3C1F5A #5A2F88 #783FB5 #9767CA #B694DA

Accessibility & contrast

On white

6.61
#783FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#783FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB5#FFFFFF#000000##FFFFFF
##783FB51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#6C5974
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783fb5;
/* rgb */ color: rgb(120, 63, 181);
/* oklch */ color: oklch(49.8% 0.180 302.5);
Tailwind
colors: {
  custom: {
    50: '#a378cc',
    500: '#783fb5',
    950: '#000000',
  },
}
SCSS
$custom: #783fb5;
$custom-light: #a378cc;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb5",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 268.983,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.17965,
    "h": 302.5
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#783FB5
secondary
#A9C58A
accent
#D85096
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783FB5

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

Preview Lab → · Contrast checker → · Palette generator →

#783FB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva