#782E83#782E83

#782E83 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.151 H 322.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#782E83
RGBrgb(120, 46, 131)
HSLhsl(292, 48%, 35%)
HSVhsv(292, 65%, 51%)
CMYKcmyk(8.4%, 64.9%, 0%, 48.6%)
CIE-LABlab(33.11, 44.75, -33.15)
CIE-LCHlch(33.11, 55.69, 323.47°)
OKLaboklab(44.25% 0.1193 -0.0922)
OKLCHoklch(44.25% 0.151 322.3)
XYZxyz(12.8190, 7.5864, 22.2574)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E83 #39832E
analogous
#4D2E83 #782E83 #832E64
triadic
#782E83 #83782E #2E8378
tetradic
#782E83 #834D2E #39832E #2E6483
square
#782E83 #834D2E #39832E #2E6483
split-complementary
#782E83 #64832E #2E834D
monochromatic
#250E28 #4F1E56 #782E83 #A13EB0 #BB63C8

Accessibility & contrast

On white

8.34
#782E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#782E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E83
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E83#FFFFFF#000000##FFFFFF
##782E831.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4886
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#7A3B54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782e83;
/* rgb */ color: rgb(120, 46, 131);
/* oklch */ color: oklch(44.3% 0.151 322.3);
Tailwind
colors: {
  custom: {
    50: '#a26ca7',
    500: '#782e83',
    950: '#000000',
  },
}
SCSS
$custom: #782e83;
$custom-light: #a26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#782e83",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 292.235,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.15082,
    "h": 322.3
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#782E83
secondary
#68AF5E
accent
#D85062
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782E83

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

Preview Lab → · Contrast checker → · Palette generator →

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