#783DB4#783DB4

#783DB4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.181 H 303.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#783DB4
RGBrgb(120, 61, 180)
HSLhsl(270, 49%, 47%)
HSVhsv(270, 66%, 71%)
CMYKcmyk(33.3%, 66.1%, 0%, 29.4%)
CIE-LABlab(38.94, 48.44, -53.46)
CIE-LCHlch(38.94, 72.14, 312.18°)
OKLaboklab(49.48% 0.099 -0.1518)
OKLCHoklch(49.48% 0.181 303.1)
XYZxyz(17.6508, 10.6258, 44.2923)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB4 #79B43D
analogous
#3D3DB4 #783DB4 #B43DB4
triadic
#783DB4 #B4783D #3DB478
tetradic
#783DB4 #B43D3D #79B43D #3DB4B4
square
#783DB4 #B43D3D #79B43D #3DB4B4
split-complementary
#783DB4 #B4B43D #3DB43D
monochromatic
#3B1E59 #5A2E86 #783DB4 #9764CA #B592DA

Accessibility & contrast

On white

6.72
#783DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783DB4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB4#FFFFFF#000000##FFFFFF
##783DB41.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#105BB1
Tritanopia (blue-blind)
#6C5773
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783db4;
/* rgb */ color: rgb(120, 61, 180);
/* oklch */ color: oklch(49.5% 0.181 303.1);
Tailwind
colors: {
  custom: {
    50: '#a376cb',
    500: '#783db4',
    950: '#000000',
  },
}
SCSS
$custom: #783db4;
$custom-light: #a376cb;
$custom-dark: #000000;
JSON
{
  "hex": "#783db4",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 269.748,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.18124,
    "h": 303.1
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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