#783BB2#783BB2

#783BB2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.182 H 303.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#783BB2
RGBrgb(120, 59, 178)
HSLhsl(271, 50%, 46%)
HSVhsv(271, 67%, 70%)
CMYKcmyk(32.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(38.44, 48.95, -53.09)
CIE-LCHlch(38.44, 72.22, 312.68°)
OKLaboklab(49.07% 0.1014 -0.1508)
OKLCHoklch(49.07% 0.182 303.9)
XYZxyz(17.3437, 10.3354, 43.1921)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB2 #75B23B
analogous
#3C3BB2 #783BB2 #B23BB1
triadic
#783BB2 #B2783B #3BB278
tetradic
#783BB2 #B23C3B #75B23B #3BB1B2
square
#783BB2 #B23C3B #75B23B #3BB1B2
split-complementary
#783BB2 #B1B23B #3BB23C
monochromatic
#3A1D56 #592C84 #783BB2 #9660CA #B58EDA

Accessibility & contrast

On white

6.85
#783BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#783BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB2#FFFFFF#000000##FFFFFF
##783BB21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#105AAF
Tritanopia (blue-blind)
#6D5571
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #783bb2;
/* rgb */ color: rgb(120, 59, 178);
/* oklch */ color: oklch(49.1% 0.182 303.9);
Tailwind
colors: {
  custom: {
    50: '#a375ca',
    500: '#783bb2',
    950: '#000000',
  },
}
SCSS
$custom: #783bb2;
$custom-light: #a375ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb2",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 270.756,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.1817,
    "h": 303.9
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#783BB2
secondary
#A4C485
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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