#782C82#782C82

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

Color values

HEX#782C82
RGBrgb(120, 44, 130)
HSLhsl(293, 49%, 34%)
HSVhsv(293, 66%, 51%)
CMYKcmyk(7.7%, 66.2%, 0%, 49%)
CIE-LABlab(32.72, 45.47, -33.15)
CIE-LCHlch(32.72, 56.27, 323.91°)
OKLaboklab(43.95% 0.1218 -0.0922)
OKLCHoklch(43.95% 0.153 322.9)
XYZxyz(12.6753, 7.4068, 21.8768)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782C82 #36822C
analogous
#4D2C82 #782C82 #822C61
triadic
#782C82 #82782C #2C8278
tetradic
#782C82 #824D2C #36822C #2C6182
square
#782C82 #824D2C #36822C #2C6182
split-complementary
#782C82 #61822C #2C824D
monochromatic
#240D27 #4E1D54 #782C82 #A23BB0 #BD5FC9

Accessibility & contrast

On white

8.46
#782C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782C82
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782C82#FFFFFF#000000##FFFFFF
##782C821.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#7A3A53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782c82;
/* rgb */ color: rgb(120, 44, 130);
/* oklch */ color: oklch(44.0% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#a26ba7',
    500: '#782c82',
    950: '#000000',
  },
}
SCSS
$custom: #782c82;
$custom-light: #a26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#782c82",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 293.023,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.15278,
    "h": 322.9
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#782C82
secondary
#64AF5B
accent
#D94F5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782C82

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

Preview Lab → · Contrast checker → · Palette generator →

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