#781876#781876

#781876 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.167 H 329.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#781876
RGBrgb(120, 24, 118)
HSLhsl(301, 67%, 28%)
HSVhsv(301, 80%, 47%)
CMYKcmyk(0%, 80%, 1.7%, 52.9%)
CIE-LABlab(29.30, 50.91, -31.03)
CIE-LCHlch(29.30, 59.62, 328.64°)
OKLaboklab(41.27% 0.1431 -0.0859)
OKLCHoklch(41.27% 0.167 329)
XYZxyz(11.3423, 5.9552, 17.6881)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781876 #18781A
analogous
#4A1878 #781876 #781846
triadic
#781876 #767818 #187678
tetradic
#781876 #784A18 #18781A #184678
square
#781876 #784A18 #18781A #184678
split-complementary
#781876 #467818 #18784A
monochromatic
#1A0519 #450E44 #781876 #AB22A8 #D634D3

Accessibility & contrast

On white

9.59
#781876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781876
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781876#FFFFFF#000000##FFFFFF
##7818761.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D78
Deuteranopia (green-blind)
#354974
Tritanopia (blue-blind)
#7C2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781876;
/* rgb */ color: rgb(120, 24, 118);
/* oklch */ color: oklch(41.3% 0.167 329.0);
Tailwind
colors: {
  custom: {
    50: '#a2629e',
    500: '#781876',
    950: '#000000',
  },
}
SCSS
$custom: #781876;
$custom-light: #a2629e;
$custom-dark: #000000;
JSON
{
  "hex": "#781876",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 301.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.16692,
    "h": 329
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#781876
secondary
#3FAD41
accent
#EA423E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781876

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

Preview Lab → · Contrast checker → · Palette generator →

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