#782B83#782B83

#782B83 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.155 H 322.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#782B83
RGBrgb(120, 43, 131)
HSLhsl(293, 51%, 34%)
HSVhsv(293, 67%, 51%)
CMYKcmyk(8.4%, 67.2%, 0%, 48.6%)
CIE-LABlab(32.61, 46.12, -33.93)
CIE-LCHlch(32.61, 57.26, 323.65°)
OKLaboklab(43.9% 0.123 -0.0945)
OKLCHoklch(43.9% 0.155 322.5)
XYZxyz(12.7059, 7.3602, 22.2197)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B83 #36832B
analogous
#4C2B83 #782B83 #832B62
triadic
#782B83 #83782B #2B8378
tetradic
#782B83 #834C2B #36832B #2B6283
square
#782B83 #834C2B #36832B #2B6283
split-complementary
#782B83 #62832B #2B834C
monochromatic
#240D27 #4E1C55 #782B83 #A23AB1 #BD5ECA

Accessibility & contrast

On white

8.50
#782B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#782B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B83
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B83#FFFFFF#000000##FFFFFF
##782B831.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#7A3953
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782b83;
/* rgb */ color: rgb(120, 43, 131);
/* oklch */ color: oklch(43.9% 0.155 322.5);
Tailwind
colors: {
  custom: {
    50: '#a26ba7',
    500: '#782b83',
    950: '#000000',
  },
}
SCSS
$custom: #782b83;
$custom-light: #a26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#782b83",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 292.5,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.15515,
    "h": 322.5
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#782B83
secondary
#64B05A
accent
#DA4E5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782B83

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

Preview Lab → · Contrast checker → · Palette generator →

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