#783FB6#783FB6

#783FB6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.181 H 302.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#783FB6
RGBrgb(120, 63, 182)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 65%, 71%)
CMYKcmyk(34.1%, 65.4%, 0%, 28.6%)
CIE-LABlab(39.45, 47.92, -53.81)
CIE-LCHlch(39.45, 72.05, 311.68°)
OKLaboklab(49.89% 0.0965 -0.1529)
OKLCHoklch(49.89% 0.181 302.3)
XYZxyz(17.9647, 10.9254, 45.4093)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB6 #7DB63F
analogous
#3F42B6 #783FB6 #B33FB6
triadic
#783FB6 #B6783F #3FB678
tetradic
#783FB6 #B63F42 #7DB63F #3FB6B3
square
#783FB6 #B63F42 #7DB63F #3FB6B3
split-complementary
#783FB6 #B6B33F #42B63F
monochromatic
#3C205B #5A2F89 #783FB6 #9768CB #B695DA

Accessibility & contrast

On white

6.59
#783FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#783FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB6#FFFFFF#000000##FFFFFF
##783FB61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#105CB3
Tritanopia (blue-blind)
#6B5975
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783fb6;
/* rgb */ color: rgb(120, 63, 182);
/* oklch */ color: oklch(49.9% 0.181 302.3);
Tailwind
colors: {
  custom: {
    50: '#a478cd',
    500: '#783fb6',
    950: '#000000',
  },
}
SCSS
$custom: #783fb6;
$custom-light: #a478cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb6",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 268.739,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.18079,
    "h": 302.3
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#783FB6
secondary
#AAC68B
accent
#D85097
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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