#782D82#782D82

#782D82 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.151 H 322.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#782D82
RGBrgb(120, 45, 130)
HSLhsl(293, 49%, 34%)
HSVhsv(293, 65%, 51%)
CMYKcmyk(7.7%, 65.4%, 0%, 49%)
CIE-LABlab(32.88, 45.01, -32.89)
CIE-LCHlch(32.88, 55.75, 323.85°)
OKLaboklab(44.07% 0.1206 -0.0915)
OKLCHoklch(44.07% 0.151 322.8)
XYZxyz(12.7130, 7.4822, 21.8893)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D82 #37822D
analogous
#4E2D82 #782D82 #822D62
triadic
#782D82 #82782D #2D8278
tetradic
#782D82 #824E2D #37822D #2D6282
square
#782D82 #824E2D #37822D #2D6282
split-complementary
#782D82 #62822D #2D824E
monochromatic
#240E27 #4E1D55 #782D82 #A23DAF #BC61C8

Accessibility & contrast

On white

8.41
#782D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#782D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D82
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D82#FFFFFF#000000##FFFFFF
##782D821.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#395080
Tritanopia (blue-blind)
#7A3A53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782d82;
/* rgb */ color: rgb(120, 45, 130);
/* oklch */ color: oklch(44.1% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#a26ca7',
    500: '#782d82',
    950: '#000000',
  },
}
SCSS
$custom: #782d82;
$custom-light: #a26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#782d82",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 292.941,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.15133,
    "h": 322.8
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#782D82
secondary
#66AF5C
accent
#D85060
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782D82

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

Preview Lab → · Contrast checker → · Palette generator →

#782D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva