#783B87#783B87

#783B87 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.2% C 0.134 H 319.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#783B87
RGBrgb(120, 59, 135)
HSLhsl(288, 39%, 38%)
HSVhsv(288, 56%, 53%)
CMYKcmyk(11.1%, 56.3%, 0%, 47.1%)
CIE-LABlab(35.73, 39.05, -31.46)
CIE-LCHlch(35.73, 50.15, 321.14°)
OKLaboklab(46.24% 0.102 -0.0874)
OKLCHoklch(46.24% 0.134 319.4)
XYZxyz(13.6823, 8.8708, 23.9085)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783B87 #4A873B
analogous
#523B87 #783B87 #873B70
triadic
#783B87 #87783B #3B8778
tetradic
#783B87 #87523B #4A873B #3B7087
square
#783B87 #87523B #4A873B #3B7087
split-complementary
#783B87 #70873B #3B8752
monochromatic
#2C1632 #52285C #783B87 #9E4EB2 #B578C4

Accessibility & contrast

On white

7.57
#783B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783B87
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783B87#FFFFFF#000000##FFFFFF
##783B871.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#78465B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783b87;
/* rgb */ color: rgb(120, 59, 135);
/* oklch */ color: oklch(46.2% 0.134 319.4);
Tailwind
colors: {
  custom: {
    50: '#a174aa',
    500: '#783b87',
    950: '#000000',
  },
}
SCSS
$custom: #783b87;
$custom-light: #a174aa;
$custom-dark: #000000;
JSON
{
  "hex": "#783b87",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 288.158,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.13433,
    "h": 319.4
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#783B87
secondary
#7CAE70
accent
#CF5970
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783B87

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

Preview Lab → · Contrast checker → · Palette generator →

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