#781886#781886

#781886 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.180 H 322.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#781886
RGBrgb(120, 24, 134)
HSLhsl(292, 70%, 31%)
HSVhsv(292, 82%, 53%)
CMYKcmyk(10.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(30.32, 53.75, -39.46)
CIE-LCHlch(30.32, 66.68, 323.71°)
OKLaboklab(42.32% 0.142 -0.1105)
OKLCHoklch(42.32% 0.18 322.1)
XYZxyz(12.3750, 6.3683, 23.1270)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781886 #268618
analogous
#411886 #781886 #86185D
triadic
#781886 #867818 #188678
tetradic
#781886 #864118 #268618 #185D86
square
#781886 #864118 #268618 #185D86
split-complementary
#781886 #5D8618 #188641
monochromatic
#1B051E #4A0F52 #781886 #A621BA #C83CDC

Accessibility & contrast

On white

9.24
#781886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#781886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781886
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781886#FFFFFF#000000##FFFFFF
##7818861.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#792F50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781886;
/* rgb */ color: rgb(120, 24, 134);
/* oklch */ color: oklch(42.3% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a362aa',
    500: '#781886',
    950: '#000000',
  },
}
SCSS
$custom: #781886;
$custom-light: #a362aa;
$custom-dark: #000000;
JSON
{
  "hex": "#781886",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 292.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.17992,
    "h": 322.1
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#781886
secondary
#50BA40
accent
#EC3B52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781886

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

Preview Lab → · Contrast checker → · Palette generator →

#781886 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva