#782D84#782D84

#782D84 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.153 H 321.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#782D84
RGBrgb(120, 45, 132)
HSLhsl(292, 49%, 35%)
HSVhsv(292, 66%, 52%)
CMYKcmyk(9.1%, 65.9%, 0%, 48.2%)
CIE-LABlab(33.00, 45.41, -33.94)
CIE-LCHlch(33.00, 56.69, 323.22°)
OKLaboklab(44.19% 0.1206 -0.0946)
OKLCHoklch(44.19% 0.153 321.9)
XYZxyz(12.8485, 7.5365, 22.6032)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D84 #39842D
analogous
#4C2D84 #782D84 #842D65
triadic
#782D84 #84782D #2D8478
tetradic
#782D84 #844C2D #39842D #2D6584
square
#782D84 #844C2D #39842D #2D6584
split-complementary
#782D84 #65842D #2D844C
monochromatic
#250E29 #4F1D56 #782D84 #A13DB2 #BB62C9

Accessibility & contrast

On white

8.38
#782D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#782D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D84
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D84#FFFFFF#000000##FFFFFF
##782D841.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#385082
Tritanopia (blue-blind)
#793B54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782d84;
/* rgb */ color: rgb(120, 45, 132);
/* oklch */ color: oklch(44.2% 0.153 321.9);
Tailwind
colors: {
  custom: {
    50: '#a26ca8',
    500: '#782d84',
    950: '#000000',
  },
}
SCSS
$custom: #782d84;
$custom-light: #a26ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#782d84",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 291.724,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.15325,
    "h": 321.9
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#782D84
secondary
#68B05D
accent
#D94F62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782D84

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

Preview Lab → · Contrast checker → · Palette generator →

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