#783EB8#783EB8

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

Color values

HEX#783EB8
RGBrgb(120, 62, 184)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(34.8%, 66.3%, 0%, 27.8%)
CIE-LABlab(39.41, 48.92, -55.06)
CIE-LCHlch(39.41, 73.66, 311.62°)
OKLaboklab(49.9% 0.0974 -0.1566)
OKLCHoklch(49.9% 0.184 301.9)
XYZxyz(18.1180, 10.8990, 46.4873)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB8 #7EB83E
analogous
#3E41B8 #783EB8 #B53EB8
triadic
#783EB8 #B8783E #3EB878
tetradic
#783EB8 #B83E41 #7EB83E #3EB8B5
square
#783EB8 #B83E41 #7EB83E #3EB8B5
split-complementary
#783EB8 #B8B53E #41B83E
monochromatic
#3C1F5C #5A2F8A #783EB8 #9767CC #B695DB

Accessibility & contrast

On white

6.60
#783EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#783EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EB8
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB8#FFFFFF#000000##FFFFFF
##783EB81.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#6B5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783eb8;
/* rgb */ color: rgb(120, 62, 184);
/* oklch */ color: oklch(49.9% 0.184 301.9);
Tailwind
colors: {
  custom: {
    50: '#a477ce',
    500: '#783eb8',
    950: '#000000',
  },
}
SCSS
$custom: #783eb8;
$custom-light: #a477ce;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb8",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 268.525,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.18439,
    "h": 301.9
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#783EB8
secondary
#AAC78B
accent
#D94F97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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