#783EC4#783EC4

#783EC4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.198 H 299.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#783EC4
RGBrgb(120, 62, 196)
HSLhsl(266, 53%, 51%)
HSVhsv(266, 68%, 77%)
CMYKcmyk(38.8%, 68.4%, 0%, 23.1%)
CIE-LABlab(40.28, 51.93, -60.67)
CIE-LCHlch(40.28, 79.86, 310.56°)
OKLaboklab(50.81% 0.0959 -0.173)
OKLCHoklch(50.81% 0.198 299)
XYZxyz(19.4297, 11.4236, 53.3952)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EC4 #8AC43E
analogous
#3E47C4 #783EC4 #BB3EC4
triadic
#783EC4 #C4783E #3EC478
tetradic
#783EC4 #C43E47 #8AC43E #3EC4BB
square
#783EC4 #C43E47 #8AC43E #3EC4BB
split-complementary
#783EC4 #C4BB3E #47C43E
monochromatic
#3F2068 #5B2E97 #783EC4 #996DD2 #BA9CE1

Accessibility & contrast

On white

6.39
#783EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#783EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EC4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EC4#FFFFFF#000000##FFFFFF
##783EC41.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#665E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783ec4;
/* rgb */ color: rgb(120, 62, 196);
/* oklch */ color: oklch(50.8% 0.198 299.0);
Tailwind
colors: {
  custom: {
    50: '#a577d7',
    500: '#783ec4',
    950: '#000000',
  },
}
SCSS
$custom: #783ec4;
$custom-light: #a577d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783ec4",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 265.97,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.19783,
    "h": 299
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#783EC4
secondary
#B3CD91
accent
#DD4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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