#783DB1#783DB1

#783DB1 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 303.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#783DB1
RGBrgb(120, 61, 177)
HSLhsl(271, 49%, 47%)
HSVhsv(271, 66%, 69%)
CMYKcmyk(32.2%, 65.5%, 0%, 30.6%)
CIE-LABlab(38.73, 47.70, -52.02)
CIE-LCHlch(38.73, 70.58, 312.52°)
OKLaboklab(49.26% 0.0992 -0.1476)
OKLCHoklch(49.26% 0.178 303.9)
XYZxyz(17.3485, 10.5049, 42.7001)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB1 #76B13D
analogous
#3E3DB1 #783DB1 #B13DB0
triadic
#783DB1 #B1783D #3DB178
tetradic
#783DB1 #B13E3D #76B13D #3DB0B1
square
#783DB1 #B13E3D #76B13D #3DB0B1
split-complementary
#783DB1 #B0B13D #3DB13E
monochromatic
#3A1E56 #592D83 #783DB1 #9662C9 #B590D9

Accessibility & contrast

On white

6.77
#783DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#783DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB1
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB1#FFFFFF#000000##FFFFFF
##783DB11.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#6D5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783db1;
/* rgb */ color: rgb(120, 61, 177);
/* oklch */ color: oklch(49.3% 0.178 303.9);
Tailwind
colors: {
  custom: {
    50: '#a376c9',
    500: '#783db1',
    950: '#000000',
  },
}
SCSS
$custom: #783db1;
$custom-light: #a376c9;
$custom-dark: #000000;
JSON
{
  "hex": "#783db1",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 270.517,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.17788,
    "h": 303.9
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#783DB1
secondary
#A4C486
accent
#D85093
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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