#783FB9#783FB9

#783FB9 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.184 H 301.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#783FB9
RGBrgb(120, 63, 185)
HSLhsl(268, 49%, 49%)
HSVhsv(268, 66%, 73%)
CMYKcmyk(35.1%, 65.9%, 0%, 27.5%)
CIE-LABlab(39.67, 48.66, -55.24)
CIE-LCHlch(39.67, 73.62, 311.38°)
OKLaboklab(50.11% 0.0962 -0.1571)
OKLCHoklch(50.11% 0.184 301.5)
XYZxyz(18.2781, 11.0508, 47.0596)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB9 #80B93F
analogous
#3F43B9 #783FB9 #B53FB9
triadic
#783FB9 #B9783F #3FB978
tetradic
#783FB9 #B93F43 #80B93F #3FB9B5
square
#783FB9 #B93F43 #80B93F #3FB9B5
split-complementary
#783FB9 #B9B53F #43B93F
monochromatic
#3D205E #5A2F8B #783FB9 #9769CC #B797DC

Accessibility & contrast

On white

6.54
#783FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#783FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB9#FFFFFF#000000##FFFFFF
##783FB91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#045DB6
Tritanopia (blue-blind)
#6A5A76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783fb9;
/* rgb */ color: rgb(120, 63, 185);
/* oklch */ color: oklch(50.1% 0.184 301.5);
Tailwind
colors: {
  custom: {
    50: '#a478cf',
    500: '#783fb9',
    950: '#000000',
  },
}
SCSS
$custom: #783fb9;
$custom-light: #a478cf;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb9",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 268.033,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.18418,
    "h": 301.5
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#783FB9
secondary
#ACC78D
accent
#D94F98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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