#782986#782986

#782986 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.161 H 321.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#782986
RGBrgb(120, 41, 134)
HSLhsl(291, 53%, 34%)
HSVhsv(291, 69%, 53%)
CMYKcmyk(10.4%, 69.4%, 0%, 47.5%)
CIE-LABlab(32.48, 47.59, -36.01)
CIE-LCHlch(32.48, 59.68, 322.89°)
OKLaboklab(43.86% 0.1254 -0.1005)
OKLCHoklch(43.86% 0.161 321.3)
XYZxyz(12.8413, 7.3008, 23.2824)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782986 #378629
analogous
#4A2986 #782986 #862966
triadic
#782986 #867829 #298678
tetradic
#782986 #864A29 #378629 #296686
square
#782986 #864A29 #378629 #296686
split-complementary
#782986 #668629 #29864A
monochromatic
#240C28 #4E1B57 #782986 #A237B5 #BC5CCD

Accessibility & contrast

On white

8.54
#782986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#782986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782986
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782986#FFFFFF#000000##FFFFFF
##7829861.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4789
Deuteranopia (green-blind)
#344F84
Tritanopia (blue-blind)
#793954
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782986;
/* rgb */ color: rgb(120, 41, 134);
/* oklch */ color: oklch(43.9% 0.161 321.3);
Tailwind
colors: {
  custom: {
    50: '#a26aaa',
    500: '#782986',
    950: '#000000',
  },
}
SCSS
$custom: #782986;
$custom-light: #a26aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#782986",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 290.968,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.16072,
    "h": 321.3
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#782986
secondary
#66B358
accent
#DD4B61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782986

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

Preview Lab → · Contrast checker → · Palette generator →

#782986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva