#782382#782382

#782382 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.165 H 323.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#782382
RGBrgb(120, 35, 130)
HSLhsl(294, 58%, 32%)
HSVhsv(294, 73%, 51%)
CMYKcmyk(7.7%, 73.1%, 0%, 49%)
CIE-LABlab(31.36, 49.26, -35.30)
CIE-LCHlch(31.36, 60.60, 324.38°)
OKLaboklab(42.98% 0.1322 -0.0984)
OKLCHoklch(42.98% 0.165 323.3)
XYZxyz(12.3756, 6.8076, 21.7769)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782382 #2D8223
analogous
#482382 #782382 #82235D
triadic
#782382 #827823 #238278
tetradic
#782382 #824823 #2D8223 #235D82
square
#782382 #824823 #2D8223 #235D82
split-complementary
#782382 #5D8223 #238248
monochromatic
#1F0922 #4B1652 #782382 #A530B2 #C250D0

Accessibility & contrast

On white

8.89
#782382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#782382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782382
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782382#FFFFFF#000000##FFFFFF
##7823821.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024385
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#7A3450
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782382;
/* rgb */ color: rgb(120, 35, 130);
/* oklch */ color: oklch(43.0% 0.165 323.3);
Tailwind
colors: {
  custom: {
    50: '#a267a7',
    500: '#782382',
    950: '#000000',
  },
}
SCSS
$custom: #782382;
$custom-light: #a267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782382",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 293.684,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.16479,
    "h": 323.3
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#782382
secondary
#58B34D
accent
#E14757
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782382

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

Preview Lab → · Contrast checker → · Palette generator →

#782382 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva