#783FC0#783FC0

#783FC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.192 H 299.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#783FC0
RGBrgb(120, 63, 192)
HSLhsl(267, 51%, 50%)
HSVhsv(267, 67%, 75%)
CMYKcmyk(37.5%, 67.2%, 0%, 24.7%)
CIE-LABlab(40.17, 50.42, -58.53)
CIE-LCHlch(40.17, 77.25, 310.75°)
OKLaboklab(50.63% 0.0954 -0.1667)
OKLCHoklch(50.63% 0.192 299.8)
XYZxyz(19.0353, 11.3537, 51.0476)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC0 #87C03F
analogous
#3F46C0 #783FC0 #B93FC0
triadic
#783FC0 #C0783F #3FC078
tetradic
#783FC0 #C03F46 #87C03F #3FC0B9
square
#783FC0 #C03F46 #87C03F #3FC0B9
split-complementary
#783FC0 #C0B93F #46C03F
monochromatic
#3E2164 #5B3092 #783FC0 #986DCF #B99BDE

Accessibility & contrast

On white

6.42
#783FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#783FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FC0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC0#FFFFFF#000000##FFFFFF
##783FC01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#685D7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783fc0;
/* rgb */ color: rgb(120, 63, 192);
/* oklch */ color: oklch(50.6% 0.192 299.8);
Tailwind
colors: {
  custom: {
    50: '#a478d4',
    500: '#783fc0',
    950: '#000000',
  },
}
SCSS
$custom: #783fc0;
$custom-light: #a478d4;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc0",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 266.512,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.19209,
    "h": 299.8
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#783FC0
secondary
#B1CA91
accent
#DA4E9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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