#783A84#783A84

#783A84 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 45.9% C 0.133 H 320.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#783A84
RGBrgb(120, 58, 132)
HSLhsl(290, 39%, 37%)
HSVhsv(290, 56%, 52%)
CMYKcmyk(9.1%, 56.1%, 0%, 48.2%)
CIE-LABlab(35.37, 38.95, -30.18)
CIE-LCHlch(35.37, 49.28, 322.23°)
OKLaboklab(45.92% 0.1031 -0.0837)
OKLCHoklch(45.92% 0.133 320.9)
XYZxyz(13.4232, 8.6857, 22.7948)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783A84 #46843A
analogous
#533A84 #783A84 #843A6B
triadic
#783A84 #84783A #3A8478
tetradic
#783A84 #84533A #46843A #3A6B84
square
#783A84 #84533A #46843A #3A6B84
split-complementary
#783A84 #6B843A #3A8453
monochromatic
#2B152F #512759 #783A84 #9F4DAF #B676C3

Accessibility & contrast

On white

7.67
#783A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#783A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783A84
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783A84#FFFFFF#000000##FFFFFF
##783A841.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F86
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#794559
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #783a84;
/* rgb */ color: rgb(120, 58, 132);
/* oklch */ color: oklch(45.9% 0.133 320.9);
Tailwind
colors: {
  custom: {
    50: '#a173a8',
    500: '#783a84',
    950: '#000000',
  },
}
SCSS
$custom: #783a84;
$custom-light: #a173a8;
$custom-dark: #000000;
JSON
{
  "hex": "#783a84",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 290.27,
    "s": 38.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.13281,
    "h": 320.9
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#783A84
secondary
#78AC6E
accent
#CF596C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #783A84

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

Preview Lab → · Contrast checker → · Palette generator →

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