#783E7C#783E7C

#783E7C is a mid, moderate purple. Relative luminance 0.089; OKLCH L 46.1% C 0.117 H 324.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#783E7C
RGBrgb(120, 62, 124)
HSLhsl(296, 33%, 36%)
HSVhsv(296, 50%, 49%)
CMYKcmyk(3.2%, 50%, 0%, 51.4%)
CIE-LABlab(35.78, 35.13, -24.59)
CIE-LCHlch(35.78, 42.88, 325.01°)
OKLaboklab(46.09% 0.096 -0.0676)
OKLCHoklch(46.09% 0.117 324.8)
XYZxyz(13.1061, 8.8942, 20.0913)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783E7C #427C3E
analogous
#593E7C #783E7C #7C3E61
triadic
#783E7C #7C783E #3E7C78
tetradic
#783E7C #7C593E #427C3E #3E617C
square
#783E7C #7C593E #427C3E #3E617C
split-complementary
#783E7C #617C3E #3E7C59
monochromatic
#29152A #512A53 #783E7C #9F52A5 #B779BC

Accessibility & contrast

On white

7.56
#783E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#783E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783E7C
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783E7C#FFFFFF#000000##FFFFFF
##783E7C1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#7A4557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783e7c;
/* rgb */ color: rgb(120, 62, 124);
/* oklch */ color: oklch(46.1% 0.117 324.8);
Tailwind
colors: {
  custom: {
    50: '#a076a2',
    500: '#783e7c',
    950: '#000000',
  },
}
SCSS
$custom: #783e7c;
$custom-light: #a076a2;
$custom-dark: #000000;
JSON
{
  "hex": "#783e7c",
  "rgb": {
    "r": 120,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 296.129,
    "s": 33.333,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.11745,
    "h": 324.8
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#783E7C
secondary
#73A670
accent
#C95E65
background
#FAF7FA
surface
#F3EDF3
border
#CDC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #783E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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