#781C94#781C94

#781C94 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.188 H 316.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#781C94
RGBrgb(120, 28, 148)
HSLhsl(286, 68%, 35%)
HSVhsv(286, 81%, 58%)
CMYKcmyk(18.9%, 81.1%, 0%, 42%)
CIE-LABlab(31.72, 55.22, -45.87)
CIE-LCHlch(31.72, 71.79, 320.28°)
OKLaboklab(43.62% 0.1367 -0.1293)
OKLCHoklch(43.62% 0.188 316.6)
XYZxyz(13.5055, 6.9623, 28.6437)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C94 #38941C
analogous
#3C1C94 #781C94 #941C74
triadic
#781C94 #94781C #1C9478
tetradic
#781C94 #943C1C #38941C #1C7494
square
#781C94 #943C1C #38941C #1C7494
split-complementary
#781C94 #74941C #1C943C
monochromatic
#25092D #4E1261 #781C94 #A226C7 #BC4DDD

Accessibility & contrast

On white

8.78
#781C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#781C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C94
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C94#FFFFFF#000000##FFFFFF
##781C941.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#763859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781c94;
/* rgb */ color: rgb(120, 28, 148);
/* oklch */ color: oklch(43.6% 0.188 316.6);
Tailwind
colors: {
  custom: {
    50: '#a365b4',
    500: '#781c94',
    950: '#000000',
  },
}
SCSS
$custom: #781c94;
$custom-light: #a365b4;
$custom-dark: #000000;
JSON
{
  "hex": "#781c94",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 286,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.18818,
    "h": 316.6
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#781C94
secondary
#67C04C
accent
#EB3D65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781C94

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

Preview Lab → · Contrast checker → · Palette generator →

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