#783E87#783E87

#783E87 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 46.7% C 0.129 H 319.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#783E87
RGBrgb(120, 62, 135)
HSLhsl(288, 37%, 39%)
HSVhsv(288, 54%, 53%)
CMYKcmyk(11.1%, 54.1%, 0%, 47.1%)
CIE-LABlab(36.34, 37.43, -30.50)
CIE-LCHlch(36.34, 48.29, 320.83°)
OKLaboklab(46.69% 0.0976 -0.0847)
OKLCHoklch(46.69% 0.129 319.1)
XYZxyz(13.8410, 9.1881, 23.9614)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E87 #4D873E
analogous
#533E87 #783E87 #873E71
triadic
#783E87 #87783E #3E8778
tetradic
#783E87 #87533E #4D873E #3E7187
square
#783E87 #87533E #4D873E #3E7187
split-complementary
#783E87 #71873E #3E8753
monochromatic
#2D1733 #532B5D #783E87 #9D52B0 #B57CC3

Accessibility & contrast

On white

7.40
#783E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#783E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E87
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E87#FFFFFF#000000##FFFFFF
##783E871.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305289
Deuteranopia (green-blind)
#425885
Tritanopia (blue-blind)
#78495C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #783e87;
/* rgb */ color: rgb(120, 62, 135);
/* oklch */ color: oklch(46.7% 0.129 319.1);
Tailwind
colors: {
  custom: {
    50: '#a176aa',
    500: '#783e87',
    950: '#000000',
  },
}
SCSS
$custom: #783e87;
$custom-light: #a176aa;
$custom-dark: #000000;
JSON
{
  "hex": "#783e87",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 287.671,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.12923,
    "h": 319.1
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#783E87
secondary
#80AD74
accent
#CD5B72
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #783E87

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

Preview Lab → · Contrast checker → · Palette generator →

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