#783DC4#783DC4

#783DC4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.199 H 299.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#783DC4
RGBrgb(120, 61, 196)
HSLhsl(266, 53%, 50%)
HSVhsv(266, 69%, 77%)
CMYKcmyk(38.8%, 68.9%, 0%, 23.1%)
CIE-LABlab(40.11, 52.43, -60.96)
CIE-LCHlch(40.11, 80.40, 310.69°)
OKLaboklab(50.68% 0.0969 -0.1739)
OKLCHoklch(50.68% 0.199 299.1)
XYZxyz(19.3758, 11.3158, 53.3772)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783DC4 #89C43D
analogous
#3D45C4 #783DC4 #BB3DC4
triadic
#783DC4 #C4783D #3DC478
tetradic
#783DC4 #C43D45 #89C43D #3DC4BB
square
#783DC4 #C43D45 #89C43D #3DC4BB
split-complementary
#783DC4 #C4BB3D #45C43D
monochromatic
#3F1F67 #5B2E96 #783DC4 #996CD2 #B99BE1

Accessibility & contrast

On white

6.44
#783DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#783DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783DC4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783DC4#FFFFFF#000000##FFFFFF
##783DC41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#665D7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783dc4;
/* rgb */ color: rgb(120, 61, 196);
/* oklch */ color: oklch(50.7% 0.199 299.1);
Tailwind
colors: {
  custom: {
    50: '#a577d7',
    500: '#783dc4',
    950: '#000000',
  },
}
SCSS
$custom: #783dc4;
$custom-light: #a577d7;
$custom-dark: #000000;
JSON
{
  "hex": "#783dc4",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 266.222,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.19907,
    "h": 299.1
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#783DC4
secondary
#B2CD90
accent
#DD4B9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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