#783FB4#783FB4

#783FB4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.179 H 302.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#783FB4
RGBrgb(120, 63, 180)
HSLhsl(269, 48%, 48%)
HSVhsv(269, 65%, 71%)
CMYKcmyk(33.3%, 65%, 0%, 29.4%)
CIE-LABlab(39.32, 47.42, -52.86)
CIE-LCHlch(39.32, 71.01, 311.89°)
OKLaboklab(49.75% 0.0967 -0.1501)
OKLCHoklch(49.75% 0.179 302.8)
XYZxyz(17.7595, 10.8434, 44.3285)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783FB4 #7BB43F
analogous
#3F40B4 #783FB4 #B33FB4
triadic
#783FB4 #B4783F #3FB478
tetradic
#783FB4 #B43F40 #7BB43F #3FB4B3
square
#783FB4 #B43F40 #7BB43F #3FB4B3
split-complementary
#783FB4 #B4B33F #40B43F
monochromatic
#3C1F59 #5A2F87 #783FB4 #9767CA #B694DA

Accessibility & contrast

On white

6.63
#783FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#783FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783FB4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783FB4#FFFFFF#000000##FFFFFF
##783FB41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#6C5974
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783fb4;
/* rgb */ color: rgb(120, 63, 180);
/* oklch */ color: oklch(49.7% 0.179 302.8);
Tailwind
colors: {
  custom: {
    50: '#a378cb',
    500: '#783fb4',
    950: '#000000',
  },
}
SCSS
$custom: #783fb4;
$custom-light: #a378cb;
$custom-dark: #000000;
JSON
{
  "hex": "#783fb4",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 269.231,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.17851,
    "h": 302.8
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#783FB4
secondary
#A8C58A
accent
#D85096
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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