#781794#781794

#781794 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.3% C 0.193 H 316.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#781794
RGBrgb(120, 23, 148)
HSLhsl(287, 73%, 34%)
HSVhsv(287, 84%, 58%)
CMYKcmyk(18.9%, 84.5%, 0%, 42%)
CIE-LABlab(31.22, 56.68, -46.69)
CIE-LCHlch(31.22, 73.43, 320.52°)
OKLaboklab(43.27% 0.1404 -0.1317)
OKLCHoklch(43.27% 0.193 316.8)
XYZxyz(13.3966, 6.7446, 28.6074)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781794 #339417
analogous
#391794 #781794 #941771
triadic
#781794 #947817 #179478
tetradic
#781794 #943917 #339417 #177194
square
#781794 #943917 #339417 #177194
split-complementary
#781794 #719417 #179439
monochromatic
#22072A #4D0F5F #781794 #A31FC9 #BE44E2

Accessibility & contrast

On white

8.94
#781794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#781794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781794
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781794#FFFFFF#000000##FFFFFF
##7817941.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#184C91
Tritanopia (blue-blind)
#763658
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #781794;
/* rgb */ color: rgb(120, 23, 148);
/* oklch */ color: oklch(43.3% 0.193 316.8);
Tailwind
colors: {
  custom: {
    50: '#a363b4',
    500: '#781794',
    950: '#000000',
  },
}
SCSS
$custom: #781794;
$custom-light: #a363b4;
$custom-dark: #000000;
JSON
{
  "hex": "#781794",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 286.56,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.1925,
    "h": 316.8
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#781794
secondary
#60C344
accent
#F03861
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781794

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

Preview Lab → · Contrast checker → · Palette generator →

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