#781D83#781D83

#781D83 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.173 H 323.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#781D83
RGBrgb(120, 29, 131)
HSLhsl(294, 64%, 31%)
HSVhsv(294, 78%, 51%)
CMYKcmyk(8.4%, 77.9%, 0%, 48.6%)
CIE-LABlab(30.67, 51.63, -37.04)
CIE-LCHlch(30.67, 63.54, 324.34°)
OKLaboklab(42.5% 0.138 -0.1035)
OKLCHoklch(42.5% 0.173 323.1)
XYZxyz(12.2814, 6.5112, 22.0782)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D83 #28831D
analogous
#451D83 #781D83 #831D5B
triadic
#781D83 #83781D #1D8378
tetradic
#781D83 #83451D #28831D #1D5B83
square
#781D83 #83451D #28831D #1D5B83
split-complementary
#781D83 #5B831D #1D8345
monochromatic
#1C071F #4A1251 #781D83 #A628B5 #C645D6

Accessibility & contrast

On white

9.12
#781D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#781D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D83
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D83#FFFFFF#000000##FFFFFF
##781D831.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#2E4C81
Tritanopia (blue-blind)
#7A314F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781d83;
/* rgb */ color: rgb(120, 29, 131);
/* oklch */ color: oklch(42.5% 0.173 323.1);
Tailwind
colors: {
  custom: {
    50: '#a264a7',
    500: '#781d83',
    950: '#000000',
  },
}
SCSS
$custom: #781d83;
$custom-light: #a264a7;
$custom-dark: #000000;
JSON
{
  "hex": "#781d83",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 293.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.17251,
    "h": 323.1
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#781D83
secondary
#52B646
accent
#E74153
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781D83

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

Preview Lab → · Contrast checker → · Palette generator →

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