#783DB0#783DB0

#783DB0 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.177 H 304.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#783DB0
RGBrgb(120, 61, 176)
HSLhsl(271, 49%, 46%)
HSVhsv(271, 65%, 69%)
CMYKcmyk(31.8%, 65.3%, 0%, 31%)
CIE-LABlab(38.66, 47.46, -51.54)
CIE-LCHlch(38.66, 70.06, 312.64°)
OKLaboklab(49.19% 0.0993 -0.1462)
OKLCHoklch(49.19% 0.177 304.2)
XYZxyz(17.2492, 10.4652, 42.1771)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DB0 #75B03D
analogous
#3F3DB0 #783DB0 #B03DAF
triadic
#783DB0 #B0783D #3DB078
tetradic
#783DB0 #B03F3D #75B03D #3DAFB0
square
#783DB0 #B03F3D #75B03D #3DAFB0
split-complementary
#783DB0 #AFB03D #3DB03F
monochromatic
#3A1D55 #592D83 #783DB0 #9662C8 #B58FD8

Accessibility & contrast

On white

6.79
#783DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#783DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DB0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DB0#FFFFFF#000000##FFFFFF
##783DB01.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#6E5671
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783db0;
/* rgb */ color: rgb(120, 61, 176);
/* oklch */ color: oklch(49.2% 0.177 304.2);
Tailwind
colors: {
  custom: {
    50: '#a376c8',
    500: '#783db0',
    950: '#000000',
  },
}
SCSS
$custom: #783db0;
$custom-light: #a376c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783db0",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 270.783,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.17675,
    "h": 304.2
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#783DB0
secondary
#A4C386
accent
#D85092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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