#783EB5#783EB5

#783EB5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.181 H 302.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#783EB5
RGBrgb(120, 62, 181)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 66%, 71%)
CMYKcmyk(33.7%, 65.7%, 0%, 29%)
CIE-LABlab(39.20, 48.18, -53.64)
CIE-LCHlch(39.20, 72.10, 311.93°)
OKLaboklab(49.69% 0.0977 -0.1524)
OKLCHoklch(49.69% 0.181 302.7)
XYZxyz(17.8069, 10.7745, 44.8487)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB5 #7BB53E
analogous
#3E3FB5 #783EB5 #B43EB5
triadic
#783EB5 #B5783E #3EB578
tetradic
#783EB5 #B53E3F #7BB53E #3EB5B4
square
#783EB5 #B53E3F #7BB53E #3EB5B4
split-complementary
#783EB5 #B5B43E #3FB53E
monochromatic
#3C1F5A #5A2E87 #783EB5 #9766CA #B693DA

Accessibility & contrast

On white

6.66
#783EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#783EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EB5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB5#FFFFFF#000000##FFFFFF
##783EB51.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#105CB2
Tritanopia (blue-blind)
#6C5874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783eb5;
/* rgb */ color: rgb(120, 62, 181);
/* oklch */ color: oklch(49.7% 0.181 302.7);
Tailwind
colors: {
  custom: {
    50: '#a377cc',
    500: '#783eb5',
    950: '#000000',
  },
}
SCSS
$custom: #783eb5;
$custom-light: #a377cc;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb5",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 269.244,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.18101,
    "h": 302.7
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#783EB5
secondary
#A8C589
accent
#D94F96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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