#783FBC#783FBC

#783FBC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.188 H 300.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#783FBC
RGBrgb(120, 63, 188)
HSLhsl(267, 50%, 49%)
HSVhsv(267, 66%, 74%)
CMYKcmyk(36.2%, 66.5%, 0%, 26.3%)
CIE-LABlab(39.88, 49.42, -56.65)
CIE-LCHlch(39.88, 75.18, 311.10°)
OKLaboklab(50.33% 0.0959 -0.1612)
OKLCHoklch(50.33% 0.188 300.7)
XYZxyz(18.5981, 11.1788, 48.7451)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FBC #83BC3F
analogous
#3F45BC #783FBC #B73FBC
triadic
#783FBC #BC783F #3FBC78
tetradic
#783FBC #BC3F45 #83BC3F #3FBCB7
square
#783FBC #BC3F45 #83BC3F #3FBCB7
split-complementary
#783FBC #BCB73F #45BC3F
monochromatic
#3D2060 #5B308E #783FBC #986BCD #B899DD

Accessibility & contrast

On white

6.49
#783FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783FBC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FBC#FFFFFF#000000##FFFFFF
##783FBC1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#695B78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #783fbc;
/* rgb */ color: rgb(120, 63, 188);
/* oklch */ color: oklch(50.3% 0.188 300.7);
Tailwind
colors: {
  custom: {
    50: '#a478d1',
    500: '#783fbc',
    950: '#000000',
  },
}
SCSS
$custom: #783fbc;
$custom-light: #a478d1;
$custom-dark: #000000;
JSON
{
  "hex": "#783fbc",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 267.36,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50332,
    "c": 0.18757,
    "h": 300.7
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#783FBC
secondary
#AEC98E
accent
#D94E9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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