#783A88#783A88

#783A88 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.2% C 0.137 H 319.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#783A88
RGBrgb(120, 58, 136)
HSLhsl(288, 40%, 38%)
HSVhsv(288, 57%, 53%)
CMYKcmyk(11.8%, 57.4%, 0%, 46.7%)
CIE-LABlab(35.59, 39.80, -32.30)
CIE-LCHlch(35.59, 51.26, 320.93°)
OKLaboklab(46.15% 0.1035 -0.0899)
OKLCHoklch(46.15% 0.137 319)
XYZxyz(13.7021, 8.7973, 24.2641)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783A88 #4A883A
analogous
#513A88 #783A88 #883A71
triadic
#783A88 #88783A #3A8878
tetradic
#783A88 #88513A #4A883A #3A7188
square
#783A88 #88513A #4A883A #3A7188
split-complementary
#783A88 #71883A #3A8851
monochromatic
#2C1532 #52285D #783A88 #9E4CB3 #B577C5

Accessibility & contrast

On white

7.61
#783A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783A88
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783A88#FFFFFF#000000##FFFFFF
##783A881.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #783a88;
/* rgb */ color: rgb(120, 58, 136);
/* oklch */ color: oklch(46.2% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#a173ab',
    500: '#783a88',
    950: '#000000',
  },
}
SCSS
$custom: #783a88;
$custom-light: #a173ab;
$custom-dark: #000000;
JSON
{
  "hex": "#783a88",
  "rgb": {
    "r": 120,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 287.692,
    "s": 40.206,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.13706,
    "h": 319
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#783A88
secondary
#7CAE6F
accent
#D05870
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783A88

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

Preview Lab → · Contrast checker → · Palette generator →

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