#783EB2#783EB2

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

Color values

HEX#783EB2
RGBrgb(120, 62, 178)
HSLhsl(270, 48%, 47%)
HSVhsv(270, 65%, 70%)
CMYKcmyk(32.6%, 65.2%, 0%, 30.2%)
CIE-LABlab(38.99, 47.44, -52.20)
CIE-LCHlch(38.99, 70.54, 312.26°)
OKLaboklab(49.47% 0.098 -0.1481)
OKLCHoklch(49.47% 0.178 303.5)
XYZxyz(17.5024, 10.6527, 43.2450)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783EB2 #78B23E
analogous
#3E3EB2 #783EB2 #B23EB2
triadic
#783EB2 #B2783E #3EB278
tetradic
#783EB2 #B23E3E #78B23E #3EB2B2
square
#783EB2 #B23E3E #78B23E #3EB2B2
split-complementary
#783EB2 #B2B23E #3EB23E
monochromatic
#3B1E57 #592E85 #783EB2 #9764C9 #B592D9

Accessibility & contrast

On white

6.71
#783EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#783EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783EB2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783EB2#FFFFFF#000000##FFFFFF
##783EB21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#185CAF
Tritanopia (blue-blind)
#6D5772
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783eb2;
/* rgb */ color: rgb(120, 62, 178);
/* oklch */ color: oklch(49.5% 0.178 303.5);
Tailwind
colors: {
  custom: {
    50: '#a377ca',
    500: '#783eb2',
    950: '#000000',
  },
}
SCSS
$custom: #783eb2;
$custom-light: #a377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783eb2",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.17762,
    "h": 303.5
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#783EB2
secondary
#A6C488
accent
#D85094
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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