#783EB0#783EB0

#783EB0 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.175 H 304.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#783EB0
RGBrgb(120, 62, 176)
HSLhsl(271, 48%, 47%)
HSVhsv(271, 65%, 69%)
CMYKcmyk(31.8%, 64.8%, 0%, 31%)
CIE-LABlab(38.85, 46.95, -51.24)
CIE-LCHlch(38.85, 69.50, 312.50°)
OKLaboklab(49.33% 0.0982 -0.1453)
OKLCHoklch(49.33% 0.175 304)
XYZxyz(17.3031, 10.5730, 42.1951)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB0 #76B03E
analogous
#3F3EB0 #783EB0 #B03EAF
triadic
#783EB0 #B0783E #3EB078
tetradic
#783EB0 #B03F3E #76B03E #3EAFB0
square
#783EB0 #B03F3E #76B03E #3EAFB0
split-complementary
#783EB0 #AFB03E #3EB03F
monochromatic
#3A1E55 #592E83 #783EB0 #9663C8 #B590D8

Accessibility & contrast

On white

6.74
#783EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#783EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EB0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB0#FFFFFF#000000##FFFFFF
##783EB01.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783eb0;
/* rgb */ color: rgb(120, 62, 176);
/* oklch */ color: oklch(49.3% 0.175 304.0);
Tailwind
colors: {
  custom: {
    50: '#a377c8',
    500: '#783eb0',
    950: '#000000',
  },
}
SCSS
$custom: #783eb0;
$custom-light: #a377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb0",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 270.526,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49325,
    "c": 0.17537,
    "h": 304
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#783EB0
secondary
#A4C387
accent
#D75093
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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