#783D7C#783D7C

#783D7C is a mid, moderate purple. Relative luminance 0.088; OKLCH L 45.9% C 0.119 H 324.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#783D7C
RGBrgb(120, 61, 124)
HSLhsl(296, 34%, 36%)
HSVhsv(296, 51%, 49%)
CMYKcmyk(3.2%, 50.8%, 0%, 51.4%)
CIE-LABlab(35.57, 35.68, -24.91)
CIE-LCHlch(35.57, 43.52, 325.07°)
OKLaboklab(45.93% 0.0976 -0.0685)
OKLCHoklch(45.93% 0.119 324.9)
XYZxyz(13.0523, 8.7864, 20.0733)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783D7C #417C3D
analogous
#593D7C #783D7C #7C3D61
triadic
#783D7C #7C783D #3D7C78
tetradic
#783D7C #7C593D #417C3D #3D617C
square
#783D7C #7C593D #417C3D #3D617C
split-complementary
#783D7C #617C3D #3D7C59
monochromatic
#29152A #502953 #783D7C #A051A5 #B877BC

Accessibility & contrast

On white

7.62
#783D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#783D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783D7C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783D7C#FFFFFF#000000##FFFFFF
##783D7C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#7A4457
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #783d7c;
/* rgb */ color: rgb(120, 61, 124);
/* oklch */ color: oklch(45.9% 0.119 324.9);
Tailwind
colors: {
  custom: {
    50: '#a175a2',
    500: '#783d7c',
    950: '#000000',
  },
}
SCSS
$custom: #783d7c;
$custom-light: #a175a2;
$custom-dark: #000000;
JSON
{
  "hex": "#783d7c",
  "rgb": {
    "r": 120,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 296.19,
    "s": 34.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.11924,
    "h": 324.9
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#783D7C
secondary
#72A66F
accent
#CA5E65
background
#FAF7FA
surface
#F3EDF3
border
#CDC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #783D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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