#782879#782879

#782879 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.150 H 327.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#782879
RGBrgb(120, 40, 121)
HSLhsl(299, 50%, 32%)
HSVhsv(299, 67%, 47%)
CMYKcmyk(0.8%, 66.9%, 0%, 52.5%)
CIE-LABlab(31.56, 45.52, -29.34)
CIE-LCHlch(31.56, 54.16, 327.20°)
OKLaboklab(42.95% 0.1264 -0.0811)
OKLCHoklch(42.95% 0.15 327.3)
XYZxyz(11.9555, 6.8919, 18.7860)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782879 #297928
analogous
#502879 #782879 #792852
triadic
#782879 #797828 #287978
tetradic
#782879 #795028 #297928 #285279
square
#782879 #795028 #297928 #285279
split-complementary
#782879 #527928 #287950
monochromatic
#1D0A1D #4A194B #782879 #A637A7 #C555C7

Accessibility & contrast

On white

8.83
#782879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#782879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782879
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782879#FFFFFF#000000##FFFFFF
##7828791.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#7C334D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782879;
/* rgb */ color: rgb(120, 40, 121);
/* oklch */ color: oklch(42.9% 0.150 327.3);
Tailwind
colors: {
  custom: {
    50: '#a269a0',
    500: '#782879',
    950: '#000000',
  },
}
SCSS
$custom: #782879;
$custom-light: #a269a0;
$custom-dark: #000000;
JSON
{
  "hex": "#782879",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 299.259,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.15021,
    "h": 327.3
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#782879
secondary
#53AB52
accent
#DA4E50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #782879

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

Preview Lab → · Contrast checker → · Palette generator →

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