#783B89#783B89

#783B89 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.136 H 318.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#783B89
RGBrgb(120, 59, 137)
HSLhsl(287, 40%, 38%)
HSVhsv(287, 57%, 54%)
CMYKcmyk(12.4%, 56.9%, 0%, 46.3%)
CIE-LABlab(35.84, 39.48, -32.52)
CIE-LCHlch(35.84, 51.15, 320.52°)
OKLaboklab(46.36% 0.1021 -0.0905)
OKLCHoklch(46.36% 0.136 318.5)
XYZxyz(13.8244, 8.9277, 24.6571)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B89 #4C893B
analogous
#513B89 #783B89 #893B73
triadic
#783B89 #89783B #3B8978
tetradic
#783B89 #89513B #4C893B #3B7389
square
#783B89 #89513B #4C893B #3B7389
split-complementary
#783B89 #73893B #3B8951
monochromatic
#2D1633 #53295E #783B89 #9D4EB3 #B579C5

Accessibility & contrast

On white

7.54
#783B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#783B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783B89
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B89#FFFFFF#000000##FFFFFF
##783B891.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508C
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#78475C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783b89;
/* rgb */ color: rgb(120, 59, 137);
/* oklch */ color: oklch(46.4% 0.136 318.5);
Tailwind
colors: {
  custom: {
    50: '#a174ac',
    500: '#783b89',
    950: '#000000',
  },
}
SCSS
$custom: #783b89;
$custom-light: #a174ac;
$custom-dark: #000000;
JSON
{
  "hex": "#783b89",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 286.923,
    "s": 39.796,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.13646,
    "h": 318.5
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#783B89
secondary
#7EAF71
accent
#D05872
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783B89

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

Preview Lab → · Contrast checker → · Palette generator →

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