#783A87#783A87

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

Color values

HEX#783A87
RGBrgb(120, 58, 135)
HSLhsl(288, 40%, 38%)
HSVhsv(288, 57%, 53%)
CMYKcmyk(11.1%, 57%, 0%, 47.1%)
CIE-LABlab(35.54, 39.58, -31.78)
CIE-LCHlch(35.54, 50.76, 321.24°)
OKLaboklab(46.1% 0.1034 -0.0883)
OKLCHoklch(46.1% 0.136 319.5)
XYZxyz(13.6314, 8.7690, 23.8915)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783A87 #49873A
analogous
#523A87 #783A87 #873A6F
triadic
#783A87 #87783A #3A8778
tetradic
#783A87 #87523A #49873A #3A6F87
square
#783A87 #87523A #49873A #3A6F87
split-complementary
#783A87 #6F873A #3A8752
monochromatic
#2C1531 #52285C #783A87 #9E4CB2 #B577C5

Accessibility & contrast

On white

7.63
#783A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#783A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783A87
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783A87#FFFFFF#000000##FFFFFF
##783A871.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#78465B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783a87;
/* rgb */ color: rgb(120, 58, 135);
/* oklch */ color: oklch(46.1% 0.136 319.5);
Tailwind
colors: {
  custom: {
    50: '#a173aa',
    500: '#783a87',
    950: '#000000',
  },
}
SCSS
$custom: #783a87;
$custom-light: #a173aa;
$custom-dark: #000000;
JSON
{
  "hex": "#783a87",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 288.312,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.13599,
    "h": 319.5
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#783A87
secondary
#7BAE6F
accent
#D0586F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783A87

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

Preview Lab → · Contrast checker → · Palette generator →

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