#783FC1#783FC1

#783FC1 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.193 H 299.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#783FC1
RGBrgb(120, 63, 193)
HSLhsl(266, 51%, 50%)
HSVhsv(266, 67%, 76%)
CMYKcmyk(37.8%, 67.4%, 0%, 24.3%)
CIE-LABlab(40.24, 50.68, -58.99)
CIE-LCHlch(40.24, 77.77, 310.66°)
OKLaboklab(50.71% 0.0952 -0.1681)
OKLCHoklch(50.71% 0.193 299.5)
XYZxyz(19.1465, 11.3981, 51.6331)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC1 #88C13F
analogous
#3F47C1 #783FC1 #B93FC1
triadic
#783FC1 #C1783F #3FC178
tetradic
#783FC1 #C13F47 #88C13F #3FC1B9
square
#783FC1 #C13F47 #88C13F #3FC1B9
split-complementary
#783FC1 #C1B93F #47C13F
monochromatic
#3F2165 #5B3093 #783FC1 #996DD0 #B99CDF

Accessibility & contrast

On white

6.40
#783FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783FC1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC1#FFFFFF#000000##FFFFFF
##783FC11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#675D7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783fc1;
/* rgb */ color: rgb(120, 63, 193);
/* oklch */ color: oklch(50.7% 0.193 299.5);
Tailwind
colors: {
  custom: {
    50: '#a478d5',
    500: '#783fc1',
    950: '#000000',
  },
}
SCSS
$custom: #783fc1;
$custom-light: #a478d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc1",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 266.308,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.19321,
    "h": 299.5
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#783FC1
secondary
#B1CB91
accent
#DB4D9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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