#783FC3#783FC3

#783FC3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.195 H 299.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#783FC3
RGBrgb(120, 63, 195)
HSLhsl(266, 52%, 51%)
HSVhsv(266, 68%, 76%)
CMYKcmyk(38.5%, 67.7%, 0%, 23.5%)
CIE-LABlab(40.39, 51.18, -59.92)
CIE-LCHlch(40.39, 78.80, 310.50°)
OKLaboklab(50.86% 0.095 -0.1708)
OKLCHoklch(50.86% 0.195 299.1)
XYZxyz(19.3711, 11.4880, 52.8160)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC3 #8AC33F
analogous
#3F48C3 #783FC3 #BA3FC3
triadic
#783FC3 #C3783F #3FC378
tetradic
#783FC3 #C33F48 #8AC33F #3FC3BA
square
#783FC3 #C33F48 #8AC33F #3FC3BA
split-complementary
#783FC3 #C3BA3F #48C33F
monochromatic
#3F2067 #5B2F96 #783FC3 #996ED2 #BA9CE0

Accessibility & contrast

On white

6.37
#783FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#783FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FC3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC3#FFFFFF#000000##FFFFFF
##783FC31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#675E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783fc3;
/* rgb */ color: rgb(120, 63, 195);
/* oklch */ color: oklch(50.9% 0.195 299.1);
Tailwind
colors: {
  custom: {
    50: '#a578d6',
    500: '#783fc3',
    950: '#000000',
  },
}
SCSS
$custom: #783fc3;
$custom-light: #a578d6;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc3",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 265.909,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.19546,
    "h": 299.1
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#783FC3
secondary
#B3CC92
accent
#DC4C9E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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