#783FC7#783FC7

#783FC7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.200 H 298.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#783FC7
RGBrgb(120, 63, 199)
HSLhsl(265, 55%, 51%)
HSVhsv(265, 68%, 78%)
CMYKcmyk(39.7%, 68.3%, 0%, 22%)
CIE-LABlab(40.69, 52.20, -61.76)
CIE-LCHlch(40.69, 80.87, 310.20°)
OKLaboklab(51.17% 0.0944 -0.1763)
OKLCHoklch(51.17% 0.2 298.2)
XYZxyz(19.8294, 11.6713, 55.2298)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC7 #8EC73F
analogous
#3F4AC7 #783FC7 #BC3FC7
triadic
#783FC7 #C7783F #3FC778
tetradic
#783FC7 #C73F4A #8EC73F #3FC7BC
square
#783FC7 #C73F4A #8EC73F #3FC7BC
split-complementary
#783FC7 #C7BC3F #4AC73F
monochromatic
#40206C #5B2D9B #783FC7 #996ED5 #BB9EE3

Accessibility & contrast

On white

6.30
#783FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#783FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FC7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC7#FFFFFF#000000##FFFFFF
##783FC71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#65607E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783fc7;
/* rgb */ color: rgb(120, 63, 199);
/* oklch */ color: oklch(51.2% 0.200 298.2);
Tailwind
colors: {
  custom: {
    50: '#a578d9',
    500: '#783fc7',
    950: '#000000',
  },
}
SCSS
$custom: #783fc7;
$custom-light: #a578d9;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc7",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 265.147,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.19994,
    "h": 298.2
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#783FC7
secondary
#B6CF93
accent
#DE4AA0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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