#783EB7#783EB7

#783EB7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.183 H 302.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#783EB7
RGBrgb(120, 62, 183)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(34.4%, 66.1%, 0%, 28.2%)
CIE-LABlab(39.34, 48.67, -54.59)
CIE-LCHlch(39.34, 73.14, 311.72°)
OKLaboklab(49.83% 0.0975 -0.1552)
OKLCHoklch(49.83% 0.183 302.1)
XYZxyz(18.0136, 10.8572, 45.9372)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB7 #7DB73E
analogous
#3E41B7 #783EB7 #B43EB7
triadic
#783EB7 #B7783E #3EB778
tetradic
#783EB7 #B73E41 #7DB73E #3EB7B4
square
#783EB7 #B73E41 #7DB73E #3EB7B4
split-complementary
#783EB7 #B7B43E #41B73E
monochromatic
#3C1F5C #5A2F89 #783EB7 #9767CB #B694DB

Accessibility & contrast

On white

6.62
#783EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #783EB7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB7#FFFFFF#000000##FFFFFF
##783EB71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#6B5975
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #783eb7;
/* rgb */ color: rgb(120, 62, 183);
/* oklch */ color: oklch(49.8% 0.183 302.1);
Tailwind
colors: {
  custom: {
    50: '#a477cd',
    500: '#783eb7',
    950: '#000000',
  },
}
SCSS
$custom: #783eb7;
$custom-light: #a477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb7",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 268.76,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.18327,
    "h": 302.1
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #783EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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