#783EB3#783EB3

#783EB3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.179 H 303.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#783EB3
RGBrgb(120, 62, 179)
HSLhsl(270, 49%, 47%)
HSVhsv(270, 65%, 70%)
CMYKcmyk(33%, 65.4%, 0%, 29.8%)
CIE-LABlab(39.06, 47.69, -52.68)
CIE-LCHlch(39.06, 71.06, 312.15°)
OKLaboklab(49.54% 0.0979 -0.1496)
OKLCHoklch(49.54% 0.179 303.2)
XYZxyz(17.6032, 10.6930, 43.7757)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB3 #79B33E
analogous
#3E3EB3 #783EB3 #B33EB3
triadic
#783EB3 #B3783E #3EB378
tetradic
#783EB3 #B33E3E #79B33E #3EB3B3
square
#783EB3 #B33E3E #79B33E #3EB3B3
split-complementary
#783EB3 #B3B33E #3EB33E
monochromatic
#3B1F58 #5A2E86 #783EB3 #9765CA #B592D9

Accessibility & contrast

On white

6.69
#783EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#783EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EB3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB3#FFFFFF#000000##FFFFFF
##783EB31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#155CB0
Tritanopia (blue-blind)
#6D5873
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783eb3;
/* rgb */ color: rgb(120, 62, 179);
/* oklch */ color: oklch(49.5% 0.179 303.2);
Tailwind
colors: {
  custom: {
    50: '#a377ca',
    500: '#783eb3',
    950: '#000000',
  },
}
SCSS
$custom: #783eb3;
$custom-light: #a377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb3",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 269.744,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.17876,
    "h": 303.2
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#783EB3
secondary
#A7C588
accent
#D85094
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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