#782D86#782D86

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

Color values

HEX#782D86
RGBrgb(120, 45, 134)
HSLhsl(291, 50%, 35%)
HSVhsv(291, 66%, 53%)
CMYKcmyk(10.4%, 66.4%, 0%, 47.5%)
CIE-LABlab(33.12, 45.81, -34.99)
CIE-LCHlch(33.12, 57.65, 322.63°)
OKLaboklab(44.32% 0.1206 -0.0976)
OKLCHoklch(44.32% 0.155 321)
XYZxyz(12.9867, 7.5917, 23.3309)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D86 #3B862D
analogous
#4C2D86 #782D86 #862D67
triadic
#782D86 #86782D #2D8678
tetradic
#782D86 #864C2D #3B862D #2D6786
square
#782D86 #864C2D #3B862D #2D6786
split-complementary
#782D86 #67862D #2D864C
monochromatic
#260E2A #4F1E58 #782D86 #A13CB4 #BA63CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782D86#FFFFFF#000000##FFFFFF
##782D861.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)
#154989
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#793C55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782d86;
/* rgb */ color: rgb(120, 45, 134);
/* oklch */ color: oklch(44.3% 0.155 321.0);
Tailwind
colors: {
  custom: {
    50: '#a26caa',
    500: '#782d86',
    950: '#000000',
  },
}
SCSS
$custom: #782d86;
$custom-light: #a26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#782d86",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 290.562,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.15517,
    "h": 321
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#782D86
secondary
#6BB15E
accent
#D94F64
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782D86

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

Preview Lab → · Contrast checker → · Palette generator →

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