#783FC4#783FC4

#783FC4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.197 H 298.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#783FC4
RGBrgb(120, 63, 196)
HSLhsl(266, 53%, 51%)
HSVhsv(266, 68%, 77%)
CMYKcmyk(38.8%, 67.9%, 0%, 23.1%)
CIE-LABlab(40.46, 51.44, -60.38)
CIE-LCHlch(40.46, 79.32, 310.43°)
OKLaboklab(50.94% 0.0948 -0.1722)
OKLCHoklch(50.94% 0.197 298.8)
XYZxyz(19.4845, 11.5334, 53.4135)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC4 #8BC43F
analogous
#3F48C4 #783FC4 #BA3FC4
triadic
#783FC4 #C4783F #3FC478
tetradic
#783FC4 #C43F48 #8BC43F #3FC4BA
square
#783FC4 #C43F48 #8BC43F #3FC4BA
split-complementary
#783FC4 #C4BA3F #48C43F
monochromatic
#3F2068 #5B2E97 #783FC4 #996ED2 #BA9DE1

Accessibility & contrast

On white

6.35
#783FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#783FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FC4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC4#FFFFFF#000000##FFFFFF
##783FC41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.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: #783fc4;
/* rgb */ color: rgb(120, 63, 196);
/* oklch */ color: oklch(50.9% 0.197 298.8);
Tailwind
colors: {
  custom: {
    50: '#a578d7',
    500: '#783fc4',
    950: '#000000',
  },
}
SCSS
$custom: #783fc4;
$custom-light: #a578d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc4",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 265.714,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.19658,
    "h": 298.8
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#783FC4
secondary
#B4CD92
accent
#DC4B9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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