#783FC2#783FC2

#783FC2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.194 H 299.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#783FC2
RGBrgb(120, 63, 194)
HSLhsl(266, 52%, 50%)
HSVhsv(266, 68%, 76%)
CMYKcmyk(38.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(40.32, 50.93, -59.46)
CIE-LCHlch(40.32, 78.29, 310.58°)
OKLaboklab(50.78% 0.0951 -0.1695)
OKLCHoklch(50.78% 0.194 299.3)
XYZxyz(19.2584, 11.4429, 52.2226)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FC2 #89C23F
analogous
#3F47C2 #783FC2 #BA3FC2
triadic
#783FC2 #C2783F #3FC278
tetradic
#783FC2 #C23F47 #89C23F #3FC2BA
square
#783FC2 #C23F47 #89C23F #3FC2BA
split-complementary
#783FC2 #C2BA3F #47C23F
monochromatic
#3F2066 #5B2F95 #783FC2 #996DD1 #B99CE0

Accessibility & contrast

On white

6.39
#783FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#783FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FC2#FFFFFF#000000##FFFFFF
##783FC21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#675E7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #783fc2;
/* rgb */ color: rgb(120, 63, 194);
/* oklch */ color: oklch(50.8% 0.194 299.3);
Tailwind
colors: {
  custom: {
    50: '#a578d5',
    500: '#783fc2',
    950: '#000000',
  },
}
SCSS
$custom: #783fc2;
$custom-light: #a578d5;
$custom-dark: #000000;
JSON
{
  "hex": "#783fc2",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 266.107,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.19433,
    "h": 299.3
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#783FC2
secondary
#B2CC91
accent
#DB4D9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #783FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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