#783B84#783B84

#783B84 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.1% C 0.131 H 320.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#783B84
RGBrgb(120, 59, 132)
HSLhsl(290, 38%, 37%)
HSVhsv(290, 55%, 52%)
CMYKcmyk(9.1%, 55.3%, 0%, 48.2%)
CIE-LABlab(35.57, 38.42, -29.87)
CIE-LCHlch(35.57, 48.66, 322.14°)
OKLaboklab(46.07% 0.1017 -0.0828)
OKLCHoklch(46.07% 0.131 320.8)
XYZxyz(13.4741, 8.7875, 22.8117)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B84 #47843B
analogous
#543B84 #783B84 #843B6C
triadic
#783B84 #84783B #3B8478
tetradic
#783B84 #84543B #47843B #3B6C84
square
#783B84 #84543B #47843B #3B6C84
split-complementary
#783B84 #6C843B #3B8454
monochromatic
#2B152F #52285A #783B84 #9E4EAE #B677C2

Accessibility & contrast

On white

7.62
#783B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#783B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B84
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B84#FFFFFF#000000##FFFFFF
##783B841.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F86
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#79455A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783b84;
/* rgb */ color: rgb(120, 59, 132);
/* oklch */ color: oklch(46.1% 0.131 320.8);
Tailwind
colors: {
  custom: {
    50: '#a174a8',
    500: '#783b84',
    950: '#000000',
  },
}
SCSS
$custom: #783b84;
$custom-light: #a174a8;
$custom-dark: #000000;
JSON
{
  "hex": "#783b84",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 290.137,
    "s": 38.22,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.13112,
    "h": 320.8
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#783B84
secondary
#79AC6F
accent
#CE5A6D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #783B84

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

Preview Lab → · Contrast checker → · Palette generator →

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