#782D7D#782D7D

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

Color values

HEX#782D7D
RGBrgb(120, 45, 125)
HSLhsl(296, 47%, 33%)
HSVhsv(296, 64%, 49%)
CMYKcmyk(4%, 64%, 0%, 51%)
CIE-LABlab(32.59, 44.04, -30.22)
CIE-LCHlch(32.59, 53.41, 325.54°)
OKLaboklab(43.77% 0.1203 -0.0837)
OKLCHoklch(43.77% 0.147 325.2)
XYZxyz(12.3855, 7.3512, 20.1646)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D7D #327D2D
analogous
#502D7D #782D7D #7D2D5A
triadic
#782D7D #7D782D #2D7D78
tetradic
#782D7D #7D502D #327D2D #2D5A7D
square
#782D7D #7D502D #327D2D #2D5A7D
split-complementary
#782D7D #5A7D2D #2D7D50
monochromatic
#220D23 #4D1D50 #782D7D #A33DAA #BF5FC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782D7D#FFFFFF#000000##FFFFFF
##782D7D1.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)
#20477F
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#7B3851
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782d7d;
/* rgb */ color: rgb(120, 45, 125);
/* oklch */ color: oklch(43.8% 0.147 325.2);
Tailwind
colors: {
  custom: {
    50: '#a16ba3',
    500: '#782d7d',
    950: '#000000',
  },
}
SCSS
$custom: #782d7d;
$custom-light: #a16ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#782d7d",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 296.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.1466,
    "h": 325.2
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#782D7D
secondary
#5FAC5A
accent
#D75159
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #782D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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