#783A85#783A85

#783A85 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.0% C 0.134 H 320.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#783A85
RGBrgb(120, 58, 133)
HSLhsl(290, 39%, 37%)
HSVhsv(290, 56%, 52%)
CMYKcmyk(9.8%, 56.4%, 0%, 47.8%)
CIE-LABlab(35.43, 39.16, -30.72)
CIE-LCHlch(35.43, 49.77, 321.89°)
OKLaboklab(45.98% 0.1032 -0.0853)
OKLCHoklch(45.98% 0.134 320.4)
XYZxyz(13.4919, 8.7132, 23.1569)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783A85 #47853A
analogous
#533A85 #783A85 #853A6D
triadic
#783A85 #85783A #3A8578
tetradic
#783A85 #85533A #47853A #3A6D85
square
#783A85 #85533A #47853A #3A6D85
split-complementary
#783A85 #6D853A #3A8553
monochromatic
#2B1530 #52275A #783A85 #9E4DB0 #B676C3

Accessibility & contrast

On white

7.66
#783A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783A85
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783A85#FFFFFF#000000##FFFFFF
##783A851.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F87
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#79455A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #783a85;
/* rgb */ color: rgb(120, 58, 133);
/* oklch */ color: oklch(46.0% 0.134 320.4);
Tailwind
colors: {
  custom: {
    50: '#a173a9',
    500: '#783a85',
    950: '#000000',
  },
}
SCSS
$custom: #783a85;
$custom-light: #a173a9;
$custom-dark: #000000;
JSON
{
  "hex": "#783a85",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 289.6,
    "s": 39.267,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.13386,
    "h": 320.4
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#783A85
secondary
#79AD6E
accent
#CF596D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783A85

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

Preview Lab → · Contrast checker → · Palette generator →

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