#783BB9#783BB9

#783BB9 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.189 H 302.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#783BB9
RGBrgb(120, 59, 185)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.1%, 68.1%, 0%, 27.5%)
CIE-LABlab(38.94, 50.67, -56.41)
CIE-LCHlch(38.94, 75.83, 311.93°)
OKLaboklab(49.59% 0.1006 -0.1605)
OKLCHoklch(49.59% 0.189 302.1)
XYZxyz(18.0646, 10.6237, 46.9884)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BB9 #7CB93B
analogous
#3B3DB9 #783BB9 #B73BB9
triadic
#783BB9 #B9783B #3BB978
tetradic
#783BB9 #B93B3D #7CB93B #3BB9B7
square
#783BB9 #B93B3D #7CB93B #3BB9B7
split-complementary
#783BB9 #B9B73B #3DB93B
monochromatic
#3C1D5C #5A2C8B #783BB9 #9764CD #B692DC

Accessibility & contrast

On white

6.72
#783BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#783BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BB9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BB9#FFFFFF#000000##FFFFFF
##783BB91.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#6B5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783bb9;
/* rgb */ color: rgb(120, 59, 185);
/* oklch */ color: oklch(49.6% 0.189 302.1);
Tailwind
colors: {
  custom: {
    50: '#a475cf',
    500: '#783bb9',
    950: '#000000',
  },
}
SCSS
$custom: #783bb9;
$custom-light: #a475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#783bb9",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 269.048,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.18943,
    "h": 302.1
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#783BB9
secondary
#A9C788
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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