#783BB3#783BB3

#783BB3 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.183 H 303.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#783BB3
RGBrgb(120, 59, 179)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 67%, 70%)
CMYKcmyk(33%, 67%, 0%, 29.8%)
CIE-LABlab(38.51, 49.20, -53.57)
CIE-LCHlch(38.51, 72.73, 312.56°)
OKLaboklab(49.14% 0.1013 -0.1522)
OKLCHoklch(49.14% 0.183 303.7)
XYZxyz(17.4445, 10.3757, 43.7228)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB3 #76B33B
analogous
#3C3BB3 #783BB3 #B33BB2
triadic
#783BB3 #B3783B #3BB378
tetradic
#783BB3 #B33C3B #76B33B #3BB2B3
square
#783BB3 #B33C3B #76B33B #3BB2B3
split-complementary
#783BB3 #B2B33B #3BB33C
monochromatic
#3A1D57 #592C85 #783BB3 #9660CB #B58EDA

Accessibility & contrast

On white

6.83
#783BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#783BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB3#FFFFFF#000000##FFFFFF
##783BB31.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0D5AB0
Tritanopia (blue-blind)
#6D5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #783bb3;
/* rgb */ color: rgb(120, 59, 179);
/* oklch */ color: oklch(49.1% 0.183 303.7);
Tailwind
colors: {
  custom: {
    50: '#a375ca',
    500: '#783bb3',
    950: '#000000',
  },
}
SCSS
$custom: #783bb3;
$custom-light: #a375ca;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb3",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 270.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.1828,
    "h": 303.7
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#783BB3
secondary
#A4C585
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #783BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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