#781D95#781D95

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

Color values

HEX#781D95
RGBrgb(120, 29, 149)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 81%, 58%)
CMYKcmyk(19.5%, 80.5%, 0%, 41.6%)
CIE-LABlab(31.90, 55.10, -46.19)
CIE-LCHlch(31.90, 71.90, 320.03°)
OKLaboklab(43.77% 0.1357 -0.1303)
OKLCHoklch(43.77% 0.188 316.2)
XYZxyz(13.6091, 7.0423, 29.0704)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D95 #3A951D
analogous
#3C1D95 #781D95 #951D76
triadic
#781D95 #95781D #1D9578
tetradic
#781D95 #953C1D #3A951D #1D7695
square
#781D95 #953C1D #3A951D #1D7695
split-complementary
#781D95 #76951D #1D953C
monochromatic
#25092F #4F1362 #781D95 #A127C8 #BB50DD

Accessibility & contrast

On white

8.72
#781D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#781D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D95
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D95#FFFFFF#000000##FFFFFF
##781D951.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781d95;
/* rgb */ color: rgb(120, 29, 149);
/* oklch */ color: oklch(43.8% 0.188 316.2);
Tailwind
colors: {
  custom: {
    50: '#a365b5',
    500: '#781d95',
    950: '#000000',
  },
}
SCSS
$custom: #781d95;
$custom-light: #a365b5;
$custom-dark: #000000;
JSON
{
  "hex": "#781d95",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 285.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.18812,
    "h": 316.2
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#781D95
secondary
#6AC04E
accent
#EA3D67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781D95

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

Preview Lab → · Contrast checker → · Palette generator →

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