#782B84#782B84

#782B84 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.156 H 322.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#782B84
RGBrgb(120, 43, 132)
HSLhsl(292, 51%, 34%)
HSVhsv(292, 67%, 52%)
CMYKcmyk(9.1%, 67.4%, 0%, 48.2%)
CIE-LABlab(32.67, 46.32, -34.46)
CIE-LCHlch(32.67, 57.73, 323.35°)
OKLaboklab(43.96% 0.1231 -0.096)
OKLCHoklch(43.96% 0.156 322)
XYZxyz(12.7740, 7.3874, 22.5784)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B84 #37842B
analogous
#4C2B84 #782B84 #842B64
triadic
#782B84 #84782B #2B8478
tetradic
#782B84 #844C2B #37842B #2B6484
square
#782B84 #844C2B #37842B #2B6484
split-complementary
#782B84 #64842B #2B844C
monochromatic
#240D28 #4E1C56 #782B84 #A23AB2 #BC5FCB

Accessibility & contrast

On white

8.48
#782B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#782B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B84
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B84#FFFFFF#000000##FFFFFF
##782B841.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144787
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#793A54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782b84;
/* rgb */ color: rgb(120, 43, 132);
/* oklch */ color: oklch(44.0% 0.156 322.0);
Tailwind
colors: {
  custom: {
    50: '#a26ba8',
    500: '#782b84',
    950: '#000000',
  },
}
SCSS
$custom: #782b84;
$custom-light: #a26ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#782b84",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 291.91,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.1561,
    "h": 322
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#782B84
secondary
#66B15A
accent
#DA4D60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782B84

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

Preview Lab → · Contrast checker → · Palette generator →

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