#781D85#781D85

#781D85 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.174 H 322.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#781D85
RGBrgb(120, 29, 133)
HSLhsl(293, 64%, 32%)
HSVhsv(293, 78%, 52%)
CMYKcmyk(9.8%, 78.2%, 0%, 47.8%)
CIE-LABlab(30.80, 52.00, -38.08)
CIE-LCHlch(30.80, 64.45, 323.79°)
OKLaboklab(42.64% 0.1379 -0.1065)
OKLCHoklch(42.64% 0.174 322.3)
XYZxyz(12.4183, 6.5660, 22.7990)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D85 #2A851D
analogous
#441D85 #781D85 #851D5E
triadic
#781D85 #85781D #1D8578
tetradic
#781D85 #85441D #2A851D #1D5E85
square
#781D85 #85441D #2A851D #1D5E85
split-complementary
#781D85 #5E851D #1D8544
monochromatic
#1D0721 #4B1253 #781D85 #A528B7 #C546D7

Accessibility & contrast

On white

9.08
#781D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#781D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D85
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D85#FFFFFF#000000##FFFFFF
##781D851.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#7A3250
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781d85;
/* rgb */ color: rgb(120, 29, 133);
/* oklch */ color: oklch(42.6% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#a264a9',
    500: '#781d85',
    950: '#000000',
  },
}
SCSS
$custom: #781d85;
$custom-light: #a264a9;
$custom-dark: #000000;
JSON
{
  "hex": "#781d85",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 292.5,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.17421,
    "h": 322.3
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#781D85
secondary
#54B846
accent
#E74155
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #781D85

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

Preview Lab → · Contrast checker → · Palette generator →

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