#781D96#781D96

#781D96 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.189 H 315.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#781D96
RGBrgb(120, 29, 150)
HSLhsl(285, 68%, 35%)
HSVhsv(285, 81%, 59%)
CMYKcmyk(20%, 80.7%, 0%, 41.2%)
CIE-LABlab(31.98, 55.30, -46.69)
CIE-LCHlch(31.98, 72.37, 319.83°)
OKLaboklab(43.84% 0.1355 -0.1317)
OKLCHoklch(43.84% 0.189 315.8)
XYZxyz(13.6892, 7.0744, 29.4926)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D96 #3B961D
analogous
#3B1D96 #781D96 #961D77
triadic
#781D96 #96781D #1D9678
tetradic
#781D96 #963B1D #3B961D #1D7796
square
#781D96 #963B1D #3B961D #1D7796
split-complementary
#781D96 #77961D #1D963B
monochromatic
#26092F #4F1363 #781D96 #A127C9 #BA50DD

Accessibility & contrast

On white

8.70
#781D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D96
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D96#FFFFFF#000000##FFFFFF
##781D961.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#1A4E93
Tritanopia (blue-blind)
#763A5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781d96;
/* rgb */ color: rgb(120, 29, 150);
/* oklch */ color: oklch(43.8% 0.189 315.8);
Tailwind
colors: {
  custom: {
    50: '#a365b6',
    500: '#781d96',
    950: '#000000',
  },
}
SCSS
$custom: #781d96;
$custom-light: #a365b6;
$custom-dark: #000000;
JSON
{
  "hex": "#781d96",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 285.124,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.18901,
    "h": 315.8
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#781D96
secondary
#6BC04F
accent
#EA3D68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781D96

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

Preview Lab → · Contrast checker → · Palette generator →

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