#783B9A#783B9A

#783B9A is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.155 H 311.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#783B9A
RGBrgb(120, 59, 154)
HSLhsl(279, 45%, 42%)
HSVhsv(279, 62%, 60%)
CMYKcmyk(22.1%, 61.7%, 0%, 39.6%)
CIE-LABlab(36.84, 43.27, -41.29)
CIE-LCHlch(36.84, 59.81, 316.34°)
OKLaboklab(47.41% 0.1028 -0.1161)
OKLCHoklch(47.41% 0.155 311.5)
XYZxyz(15.1414, 9.4544, 31.5928)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B9A #5D9A3B
analogous
#483B9A #783B9A #9A3B8D
triadic
#783B9A #9A783B #3B9A78
tetradic
#783B9A #9A483B #5D9A3B #3B8D9A
square
#783B9A #9A483B #5D9A3B #3B8D9A
split-complementary
#783B9A #8D9A3B #3B9A48
monochromatic
#331942 #562A6E #783B9A #9855BE #B381CF

Accessibility & contrast

On white

7.26
#783B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#783B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B9A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B9A#FFFFFF#000000##FFFFFF
##783B9A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#335898
Tritanopia (blue-blind)
#744D65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #783b9a;
/* rgb */ color: rgb(120, 59, 154);
/* oklch */ color: oklch(47.4% 0.155 311.5);
Tailwind
colors: {
  custom: {
    50: '#a274b8',
    500: '#783b9a',
    950: '#000000',
  },
}
SCSS
$custom: #783b9a;
$custom-light: #a274b8;
$custom-dark: #000000;
JSON
{
  "hex": "#783b9a",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 278.526,
    "s": 44.601,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.15508,
    "h": 311.5
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#783B9A
secondary
#8FB878
accent
#D45382
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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