#781E83#781E83

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

Color values

HEX#781E83
RGBrgb(120, 30, 131)
HSLhsl(293, 63%, 32%)
HSVhsv(293, 77%, 51%)
CMYKcmyk(8.4%, 77.1%, 0%, 48.6%)
CIE-LABlab(30.79, 51.29, -36.85)
CIE-LCHlch(30.79, 63.15, 324.30°)
OKLaboklab(42.59% 0.1371 -0.1029)
OKLCHoklch(42.59% 0.171 323.1)
XYZxyz(12.3063, 6.5610, 22.0865)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E83 #29831E
analogous
#461E83 #781E83 #831E5C
triadic
#781E83 #83781E #1E8378
tetradic
#781E83 #83461E #29831E #1E5C83
square
#781E83 #83461E #29831E #1E5C83
split-complementary
#781E83 #5C831E #1E8346
monochromatic
#1D071F #4A1351 #781E83 #A629B5 #C547D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781E83#FFFFFF#000000##FFFFFF
##781E831.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)
#004286
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#7A314F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781e83;
/* rgb */ color: rgb(120, 30, 131);
/* oklch */ color: oklch(42.6% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#a265a7',
    500: '#781e83',
    950: '#000000',
  },
}
SCSS
$custom: #781e83;
$custom-light: #a265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#781e83",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 293.465,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.17143,
    "h": 323.1
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#781E83
secondary
#53B647
accent
#E64254
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781E83

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

Preview Lab → · Contrast checker → · Palette generator →

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