#782876#782876

#782876 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 328.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#782876
RGBrgb(120, 40, 118)
HSLhsl(302, 50%, 31%)
HSVhsv(302, 67%, 47%)
CMYKcmyk(0%, 66.7%, 1.7%, 52.9%)
CIE-LABlab(31.39, 44.97, -27.71)
CIE-LCHlch(31.39, 52.83, 328.36°)
OKLaboklab(42.77% 0.1262 -0.0764)
OKLCHoklch(42.77% 0.148 328.8)
XYZxyz(11.7744, 6.8195, 17.8322)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782876 #28782A
analogous
#522878 #782876 #78284E
triadic
#782876 #767828 #287678
tetradic
#782876 #785228 #28782A #284E78
square
#782876 #785228 #28782A #284E78
split-complementary
#782876 #4E7828 #287852
monochromatic
#1C091C #4A1949 #782876 #A637A3 #C654C3

Accessibility & contrast

On white

8.88
#782876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#782876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782876
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782876#FFFFFF#000000##FFFFFF
##7828761.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#7C324B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782876;
/* rgb */ color: rgb(120, 40, 118);
/* oklch */ color: oklch(42.8% 0.148 328.8);
Tailwind
colors: {
  custom: {
    50: '#a2699e',
    500: '#782876',
    950: '#000000',
  },
}
SCSS
$custom: #782876;
$custom-light: #a2699e;
$custom-dark: #000000;
JSON
{
  "hex": "#782876",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 301.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.14756,
    "h": 328.8
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#782876
secondary
#52AA54
accent
#DA524E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782876

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

Preview Lab → · Contrast checker → · Palette generator →

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