#783F8A#783F8A

#783F8A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.0% C 0.131 H 317.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#783F8A
RGBrgb(120, 63, 138)
HSLhsl(286, 37%, 39%)
HSVhsv(286, 54%, 54%)
CMYKcmyk(13%, 54.3%, 0%, 45.9%)
CIE-LABlab(36.71, 37.54, -31.76)
CIE-LCHlch(36.71, 49.17, 319.77°)
OKLaboklab(47.01% 0.0965 -0.0883)
OKLCHoklch(47.01% 0.131 317.5)
XYZxyz(14.1100, 9.3836, 25.1078)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783F8A #518A3F
analogous
#533F8A #783F8A #8A3F77
triadic
#783F8A #8A783F #3F8A78
tetradic
#783F8A #8A533F #518A3F #3F778A
square
#783F8A #8A533F #518A3F #3F778A
split-complementary
#783F8A #778A3F #3F8A53
monochromatic
#2F1936 #532C60 #783F8A #9B55B1 #B47FC5

Accessibility & contrast

On white

7.30
#783F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#783F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783F8A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783F8A#FFFFFF#000000##FFFFFF
##783F8A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538C
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#784A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #783f8a;
/* rgb */ color: rgb(120, 63, 138);
/* oklch */ color: oklch(47.0% 0.131 317.5);
Tailwind
colors: {
  custom: {
    50: '#a176ac',
    500: '#783f8a',
    950: '#000000',
  },
}
SCSS
$custom: #783f8a;
$custom-light: #a176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#783f8a",
  "rgb": {
    "r": 120,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 285.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.13082,
    "h": 317.5
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#783F8A
secondary
#84AF76
accent
#CD5B76
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #783F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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