#781C95#781C95

#781C95 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.189 H 316.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#781C95
RGBrgb(120, 28, 149)
HSLhsl(286, 68%, 35%)
HSVhsv(286, 81%, 58%)
CMYKcmyk(19.5%, 81.2%, 0%, 41.6%)
CIE-LABlab(31.79, 55.42, -46.37)
CIE-LCHlch(31.79, 72.26, 320.08°)
OKLaboklab(43.69% 0.1365 -0.1308)
OKLCHoklch(43.69% 0.189 316.2)
XYZxyz(13.5850, 6.9941, 29.0623)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C95 #39951C
analogous
#3C1C95 #781C95 #951C76
triadic
#781C95 #95781C #1C9578
tetradic
#781C95 #953C1C #39951C #1C7695
square
#781C95 #953C1C #39951C #1C7695
split-complementary
#781C95 #76951C #1C953C
monochromatic
#25092E #4F1261 #781C95 #A126C9 #BB4EDE

Accessibility & contrast

On white

8.75
#781C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#781C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C95
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C95#FFFFFF#000000##FFFFFF
##781C951.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1A4D92
Tritanopia (blue-blind)
#763959
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781c95;
/* rgb */ color: rgb(120, 28, 149);
/* oklch */ color: oklch(43.7% 0.189 316.2);
Tailwind
colors: {
  custom: {
    50: '#a365b5',
    500: '#781c95',
    950: '#000000',
  },
}
SCSS
$custom: #781c95;
$custom-light: #a365b5;
$custom-dark: #000000;
JSON
{
  "hex": "#781c95",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 285.62,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.18906,
    "h": 316.2
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#781C95
secondary
#68C04D
accent
#EB3D66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781C95

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

Preview Lab → · Contrast checker → · Palette generator →

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