#783FB0#783FB0

#783FB0 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.174 H 303.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#783FB0
RGBrgb(120, 63, 176)
HSLhsl(270, 47%, 47%)
HSVhsv(270, 64%, 69%)
CMYKcmyk(31.8%, 64.2%, 0%, 31%)
CIE-LABlab(39.04, 46.43, -50.94)
CIE-LCHlch(39.04, 68.92, 312.35°)
OKLaboklab(49.46% 0.097 -0.1444)
OKLCHoklch(49.46% 0.174 303.9)
XYZxyz(17.3579, 10.6827, 42.2134)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB0 #77B03F
analogous
#3F3FB0 #783FB0 #B03FB0
triadic
#783FB0 #B0783F #3FB078
tetradic
#783FB0 #B03F3F #77B03F #3FB0B0
square
#783FB0 #B03F3F #77B03F #3FB0B0
split-complementary
#783FB0 #B0B03F #3FB03F
monochromatic
#3B1F56 #592F83 #783FB0 #9765C8 #B592D8

Accessibility & contrast

On white

6.70
#783FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#783FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB0#FFFFFF#000000##FFFFFF
##783FB01.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#1E5CAD
Tritanopia (blue-blind)
#6D5772
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783fb0;
/* rgb */ color: rgb(120, 63, 176);
/* oklch */ color: oklch(49.5% 0.174 303.9);
Tailwind
colors: {
  custom: {
    50: '#a377c8',
    500: '#783fb0',
    950: '#000000',
  },
}
SCSS
$custom: #783fb0;
$custom-light: #a377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb0",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 270.265,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.17397,
    "h": 303.9
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#783FB0
secondary
#A5C388
accent
#D75193
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #783FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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