#781A94#781A94

#781A94 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.190 H 316.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#781A94
RGBrgb(120, 26, 148)
HSLhsl(286, 70%, 34%)
HSVhsv(286, 82%, 58%)
CMYKcmyk(18.9%, 82.4%, 0%, 42%)
CIE-LABlab(31.51, 55.83, -46.21)
CIE-LCHlch(31.51, 72.47, 320.38°)
OKLaboklab(43.47% 0.1382 -0.1303)
OKLCHoklch(43.47% 0.19 316.7)
XYZxyz(13.4596, 6.8706, 28.6284)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A94 #36941A
analogous
#3B1A94 #781A94 #941A73
triadic
#781A94 #94781A #1A9478
tetradic
#781A94 #943B1A #36941A #1A7394
square
#781A94 #943B1A #36941A #1A7394
split-complementary
#781A94 #73941A #1A943B
monochromatic
#24082C #4E1160 #781A94 #A223C8 #BD49DF

Accessibility & contrast

On white

8.85
#781A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#781A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A94
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A94#FFFFFF#000000##FFFFFF
##781A941.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1A4D91
Tritanopia (blue-blind)
#763758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781a94;
/* rgb */ color: rgb(120, 26, 148);
/* oklch */ color: oklch(43.5% 0.190 316.7);
Tailwind
colors: {
  custom: {
    50: '#a364b4',
    500: '#781a94',
    950: '#000000',
  },
}
SCSS
$custom: #781a94;
$custom-light: #a364b4;
$custom-dark: #000000;
JSON
{
  "hex": "#781a94",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 286.23,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.18999,
    "h": 316.7
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#781A94
secondary
#64C149
accent
#ED3B64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781A94

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

Preview Lab → · Contrast checker → · Palette generator →

#781A94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva