#783A8A#783A8A

#783A8A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.3% C 0.139 H 318.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#783A8A
RGBrgb(120, 58, 138)
HSLhsl(287, 41%, 38%)
HSVhsv(287, 58%, 54%)
CMYKcmyk(13%, 58%, 0%, 45.9%)
CIE-LABlab(35.70, 40.23, -33.36)
CIE-LCHlch(35.70, 52.26, 320.33°)
OKLaboklab(46.27% 0.1036 -0.0929)
OKLCHoklch(46.27% 0.139 318.1)
XYZxyz(13.8456, 8.8547, 25.0196)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783A8A #4C8A3A
analogous
#503A8A #783A8A #8A3A74
triadic
#783A8A #8A783A #3A8A78
tetradic
#783A8A #8A503A #4C8A3A #3A748A
square
#783A8A #8A503A #4C8A3A #3A748A
split-complementary
#783A8A #748A3A #3A8A50
monochromatic
#2D1634 #53285F #783A8A #9D4DB4 #B578C6

Accessibility & contrast

On white

7.58
#783A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#783A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783A8A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783A8A#FFFFFF#000000##FFFFFF
##783A8A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#78475C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783a8a;
/* rgb */ color: rgb(120, 58, 138);
/* oklch */ color: oklch(46.3% 0.139 318.1);
Tailwind
colors: {
  custom: {
    50: '#a173ac',
    500: '#783a8a',
    950: '#000000',
  },
}
SCSS
$custom: #783a8a;
$custom-light: #a173ac;
$custom-dark: #000000;
JSON
{
  "hex": "#783a8a",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 286.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.1392,
    "h": 318.1
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#783A8A
secondary
#7EB070
accent
#D15772
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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