#783C8A#783C8A

#783C8A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.6% C 0.136 H 317.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#783C8A
RGBrgb(120, 60, 138)
HSLhsl(286, 39%, 39%)
HSVhsv(286, 57%, 54%)
CMYKcmyk(13%, 56.5%, 0%, 45.9%)
CIE-LABlab(36.10, 39.16, -32.73)
CIE-LCHlch(36.10, 51.04, 320.12°)
OKLaboklab(46.56% 0.1008 -0.0911)
OKLCHoklch(46.56% 0.136 317.9)
XYZxyz(13.9484, 9.0603, 25.0539)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783C8A #4E8A3C
analogous
#513C8A #783C8A #8A3C75
triadic
#783C8A #8A783C #3C8A78
tetradic
#783C8A #8A513C #4E8A3C #3C758A
square
#783C8A #8A513C #4E8A3C #3C758A
split-complementary
#783C8A #758A3C #3C8A51
monochromatic
#2E1735 #53295F #783C8A #9C50B3 #B47BC6

Accessibility & contrast

On white

7.47
#783C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#783C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783C8A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783C8A#FFFFFF#000000##FFFFFF
##783C8A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#78485D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #783c8a;
/* rgb */ color: rgb(120, 60, 138);
/* oklch */ color: oklch(46.6% 0.136 317.9);
Tailwind
colors: {
  custom: {
    50: '#a175ac',
    500: '#783c8a',
    950: '#000000',
  },
}
SCSS
$custom: #783c8a;
$custom-light: #a175ac;
$custom-dark: #000000;
JSON
{
  "hex": "#783c8a",
  "rgb": {
    "r": 120,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 286.154,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.13589,
    "h": 317.9
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#783C8A
secondary
#81AF73
accent
#CF5974
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #783C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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