#782C83#782C83

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

Color values

HEX#782C83
RGBrgb(120, 44, 131)
HSLhsl(292, 50%, 34%)
HSVhsv(292, 66%, 51%)
CMYKcmyk(8.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(32.77, 45.67, -33.68)
CIE-LCHlch(32.77, 56.74, 323.59°)
OKLaboklab(44.01% 0.1218 -0.0938)
OKLCHoklch(44.01% 0.154 322.4)
XYZxyz(12.7427, 7.4338, 22.2320)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782C83 #37832C
analogous
#4D2C83 #782C83 #832C63
triadic
#782C83 #83782C #2C8378
tetradic
#782C83 #834D2C #37832C #2C6383
square
#782C83 #834D2C #37832C #2C6383
split-complementary
#782C83 #63832C #2C834D
monochromatic
#240D27 #4E1D55 #782C83 #A23BB1 #BC60CA

Accessibility & contrast

On white

8.45
#782C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#782C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782C83
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782C83#FFFFFF#000000##FFFFFF
##782C831.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782c83;
/* rgb */ color: rgb(120, 44, 131);
/* oklch */ color: oklch(44.0% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#a26ba7',
    500: '#782c83',
    950: '#000000',
  },
}
SCSS
$custom: #782c83;
$custom-light: #a26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#782c83",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 292.414,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.15373,
    "h": 322.4
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#782C83
secondary
#66B05B
accent
#D94F60
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782C83

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

Preview Lab → · Contrast checker → · Palette generator →

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