#783FC6#783FC6

#783FC6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.199 H 298.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#783FC6
RGBrgb(120, 63, 198)
HSLhsl(265, 54%, 51%)
HSVhsv(265, 68%, 78%)
CMYKcmyk(39.4%, 68.2%, 0%, 22.4%)
CIE-LABlab(40.61, 51.94, -61.30)
CIE-LCHlch(40.61, 80.35, 310.28°)
OKLaboklab(51.09% 0.0945 -0.1749)
OKLCHoklch(51.09% 0.199 298.4)
XYZxyz(19.7137, 11.6250, 54.6204)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC6 #8DC63F
analogous
#3F49C6 #783FC6 #BB3FC6
triadic
#783FC6 #C6783F #3FC678
tetradic
#783FC6 #C63F49 #8DC63F #3FC6BB
square
#783FC6 #C63F49 #8DC63F #3FC6BB
split-complementary
#783FC6 #C6BB3F #49C63F
monochromatic
#3F206B #5B2E9A #783FC6 #996ED4 #BA9DE2

Accessibility & contrast

On white

6.32
#783FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783FC6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC6#FFFFFF#000000##FFFFFF
##783FC61.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#655F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #783fc6;
/* rgb */ color: rgb(120, 63, 198);
/* oklch */ color: oklch(51.1% 0.199 298.4);
Tailwind
colors: {
  custom: {
    50: '#a578d8',
    500: '#783fc6',
    950: '#000000',
  },
}
SCSS
$custom: #783fc6;
$custom-light: #a578d8;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc6",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 265.333,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.19882,
    "h": 298.4
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#783FC6
secondary
#B5CE93
accent
#DE4A9F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #783FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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