#782F86#782F86

#782F86 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.152 H 320.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#782F86
RGBrgb(120, 47, 134)
HSLhsl(290, 48%, 35%)
HSVhsv(290, 65%, 53%)
CMYKcmyk(10.4%, 64.9%, 0%, 47.5%)
CIE-LABlab(33.45, 44.89, -34.46)
CIE-LCHlch(33.45, 56.59, 322.48°)
OKLaboklab(44.56% 0.1181 -0.0961)
OKLCHoklch(44.56% 0.152 320.9)
XYZxyz(13.0648, 7.7480, 23.3570)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782F86 #3D862F
analogous
#4C2F86 #782F86 #862F68
triadic
#782F86 #86782F #2F8678
tetradic
#782F86 #864C2F #3D862F #2F6886
square
#782F86 #864C2F #3D862F #2F6886
split-complementary
#782F86 #68862F #2F864C
monochromatic
#270F2B #4F1F59 #782F86 #A13FB3 #B966C9

Accessibility & contrast

On white

8.24
#782F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#782F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782F86
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782F86#FFFFFF#000000##FFFFFF
##782F861.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194989
Deuteranopia (green-blind)
#385184
Tritanopia (blue-blind)
#793D56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #782f86;
/* rgb */ color: rgb(120, 47, 134);
/* oklch */ color: oklch(44.6% 0.152 320.9);
Tailwind
colors: {
  custom: {
    50: '#a26daa',
    500: '#782f86',
    950: '#000000',
  },
}
SCSS
$custom: #782f86;
$custom-light: #a26daa;
$custom-dark: #000000;
JSON
{
  "hex": "#782f86",
  "rgb": {
    "r": 120,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 290.345,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44559,
    "c": 0.15226,
    "h": 320.9
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#782F86
secondary
#6DB060
accent
#D85066
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782F86

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

Preview Lab → · Contrast checker → · Palette generator →

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