#783DB5#783DB5

#783DB5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.182 H 302.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#783DB5
RGBrgb(120, 61, 181)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 66%, 71%)
CMYKcmyk(33.7%, 66.3%, 0%, 29%)
CIE-LABlab(39.01, 48.69, -53.94)
CIE-LCHlch(39.01, 72.66, 312.07°)
OKLaboklab(49.55% 0.0988 -0.1532)
OKLCHoklch(49.55% 0.182 302.8)
XYZxyz(17.7530, 10.6667, 44.8307)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB5 #7AB53D
analogous
#3D3EB5 #783DB5 #B43DB5
triadic
#783DB5 #B5783D #3DB578
tetradic
#783DB5 #B53D3E #7AB53D #3DB5B4
square
#783DB5 #B53D3E #7AB53D #3DB5B4
split-complementary
#783DB5 #B5B43D #3EB53D
monochromatic
#3B1E59 #5A2E87 #783DB5 #9764CB #B692DA

Accessibility & contrast

On white

6.70
#783DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#783DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB5#FFFFFF#000000##FFFFFF
##783DB51.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783db5;
/* rgb */ color: rgb(120, 61, 181);
/* oklch */ color: oklch(49.6% 0.182 302.8);
Tailwind
colors: {
  custom: {
    50: '#a476cc',
    500: '#783db5',
    950: '#000000',
  },
}
SCSS
$custom: #783db5;
$custom-light: #a476cc;
$custom-dark: #000000;
JSON
{
  "hex": "#783db5",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 269.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.18236,
    "h": 302.8
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#783DB5
secondary
#A7C588
accent
#D94F95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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