#783E7A#783E7A

#783E7A is a mid, moderate purple. Relative luminance 0.088; OKLCH L 46.0% C 0.115 H 326.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#783E7A
RGBrgb(120, 62, 122)
HSLhsl(298, 33%, 36%)
HSVhsv(298, 49%, 48%)
CMYKcmyk(1.6%, 49.2%, 0%, 52.2%)
CIE-LABlab(35.68, 34.72, -23.50)
CIE-LCHlch(35.68, 41.92, 325.91°)
OKLaboklab(45.98% 0.0957 -0.0645)
OKLCHoklch(45.98% 0.115 326)
XYZxyz(12.9809, 8.8441, 19.4319)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E7A #407A3E
analogous
#5A3E7A #783E7A #7A3E5E
triadic
#783E7A #7A783E #3E7A78
tetradic
#783E7A #7A5A3E #407A3E #3E5E7A
square
#783E7A #7A5A3E #407A3E #3E5E7A
split-complementary
#783E7A #5E7A3E #3E7A5A
monochromatic
#281529 #502951 #783E7A #A053A3 #B878BA

Accessibility & contrast

On white

7.59
#783E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783E7A
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E7A#FFFFFF#000000##FFFFFF
##783E7A1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#7B4556
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783e7a;
/* rgb */ color: rgb(120, 62, 122);
/* oklch */ color: oklch(46.0% 0.115 326.0);
Tailwind
colors: {
  custom: {
    50: '#a075a0',
    500: '#783e7a',
    950: '#000000',
  },
}
SCSS
$custom: #783e7a;
$custom-light: #a075a0;
$custom-dark: #000000;
JSON
{
  "hex": "#783e7a",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 298,
    "s": 32.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.11538,
    "h": 326
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#783E7A
secondary
#71A56F
accent
#C95F63
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #783E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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