#783EB4#783EB4

#783EB4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.180 H 302.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#783EB4
RGBrgb(120, 62, 180)
HSLhsl(269, 49%, 47%)
HSVhsv(269, 66%, 71%)
CMYKcmyk(33.3%, 65.6%, 0%, 29.4%)
CIE-LABlab(39.13, 47.93, -53.16)
CIE-LCHlch(39.13, 71.58, 312.04°)
OKLaboklab(49.61% 0.0978 -0.151)
OKLCHoklch(49.61% 0.18 302.9)
XYZxyz(17.7047, 10.7336, 44.3102)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB4 #7AB43E
analogous
#3E3FB4 #783EB4 #B33EB4
triadic
#783EB4 #B4783E #3EB478
tetradic
#783EB4 #B43E3F #7AB43E #3EB4B3
square
#783EB4 #B43E3F #7AB43E #3EB4B3
split-complementary
#783EB4 #B4B33E #3FB43E
monochromatic
#3B1F59 #5A2E86 #783EB4 #9765CA #B693DA

Accessibility & contrast

On white

6.67
#783EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#783EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EB4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB4#FFFFFF#000000##FFFFFF
##783EB41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#135CB1
Tritanopia (blue-blind)
#6C5873
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783eb4;
/* rgb */ color: rgb(120, 62, 180);
/* oklch */ color: oklch(49.6% 0.180 302.9);
Tailwind
colors: {
  custom: {
    50: '#a377cb',
    500: '#783eb4',
    950: '#000000',
  },
}
SCSS
$custom: #783eb4;
$custom-light: #a377cb;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb4",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 269.492,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.17988,
    "h": 302.9
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#783EB4
secondary
#A7C589
accent
#D84F95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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