#783B98#783B98

#783B98 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.153 H 312.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#783B98
RGBrgb(120, 59, 152)
HSLhsl(279, 44%, 41%)
HSVhsv(279, 61%, 60%)
CMYKcmyk(21.1%, 61.2%, 0%, 40.4%)
CIE-LABlab(36.72, 42.81, -40.28)
CIE-LCHlch(36.72, 58.78, 316.74°)
OKLaboklab(47.28% 0.1028 -0.1131)
OKLCHoklch(47.28% 0.153 312.3)
XYZxyz(14.9762, 9.3884, 30.7229)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B98 #5B983B
analogous
#4A3B98 #783B98 #983B8A
triadic
#783B98 #98783B #3B9878
tetradic
#783B98 #984A3B #5B983B #3B8A98
square
#783B98 #984A3B #5B983B #3B8A98
split-complementary
#783B98 #8A983B #3B984A
monochromatic
#321940 #552A6C #783B98 #9854BD #B380CE

Accessibility & contrast

On white

7.30
#783B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#783B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B98
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B98#FFFFFF#000000##FFFFFF
##783B981.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539B
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#754C64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783b98;
/* rgb */ color: rgb(120, 59, 152);
/* oklch */ color: oklch(47.3% 0.153 312.3);
Tailwind
colors: {
  custom: {
    50: '#a274b7',
    500: '#783b98',
    950: '#000000',
  },
}
SCSS
$custom: #783b98;
$custom-light: #a274b7;
$custom-dark: #000000;
JSON
{
  "hex": "#783b98",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 279.355,
    "s": 44.076,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.15287,
    "h": 312.3
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#783B98
secondary
#8DB777
accent
#D45480
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783B98

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

Preview Lab → · Contrast checker → · Palette generator →

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