#783BC6#783BC6

#783BC6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.204 H 298.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#783BC6
RGBrgb(120, 59, 198)
HSLhsl(266, 55%, 50%)
HSVhsv(266, 70%, 78%)
CMYKcmyk(39.4%, 70.2%, 0%, 22.4%)
CIE-LABlab(39.91, 53.90, -62.44)
CIE-LCHlch(39.91, 82.49, 310.80°)
OKLaboklab(50.59% 0.0986 -0.1782)
OKLCHoklch(50.59% 0.204 298.9)
XYZxyz(19.5002, 11.1980, 54.5492)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BC6 #89C63B
analogous
#3B43C6 #783BC6 #BE3BC6
triadic
#783BC6 #C6783B #3BC678
tetradic
#783BC6 #C63B43 #89C63B #3BC6BE
square
#783BC6 #C63B43 #89C63B #3BC6BE
split-complementary
#783BC6 #C6BE3B #43C63B
monochromatic
#3F1E68 #5B2C98 #783BC6 #996AD4 #B99AE2

Accessibility & contrast

On white

6.48
#783BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#783BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BC6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BC6#FFFFFF#000000##FFFFFF
##783BC61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783bc6;
/* rgb */ color: rgb(120, 59, 198);
/* oklch */ color: oklch(50.6% 0.204 298.9);
Tailwind
colors: {
  custom: {
    50: '#a576d8',
    500: '#783bc6',
    950: '#000000',
  },
}
SCSS
$custom: #783bc6;
$custom-light: #a576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#783bc6",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 266.331,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.20368,
    "h": 298.9
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#783BC6
secondary
#B2CD8F
accent
#DE4A9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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