#782886#782886

#782886 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.162 H 321.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#782886
RGBrgb(120, 40, 134)
HSLhsl(291, 54%, 34%)
HSVhsv(291, 70%, 53%)
CMYKcmyk(10.4%, 70.1%, 0%, 47.5%)
CIE-LABlab(32.33, 48.01, -36.25)
CIE-LCHlch(32.33, 60.16, 322.95°)
OKLaboklab(43.75% 0.1265 -0.1012)
OKLCHoklch(43.75% 0.162 321.3)
XYZxyz(12.8071, 7.2326, 23.2711)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782886 #368628
analogous
#492886 #782886 #862865
triadic
#782886 #867828 #288678
tetradic
#782886 #864928 #368628 #286586
square
#782886 #864928 #368628 #286586
split-complementary
#782886 #658628 #288649
monochromatic
#240C28 #4E1A57 #782886 #A236B5 #BD5BCE

Accessibility & contrast

On white

8.58
#782886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#782886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782886
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782886#FFFFFF#000000##FFFFFF
##7828861.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074689
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#793854
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782886;
/* rgb */ color: rgb(120, 40, 134);
/* oklch */ color: oklch(43.8% 0.162 321.3);
Tailwind
colors: {
  custom: {
    50: '#a269aa',
    500: '#782886',
    950: '#000000',
  },
}
SCSS
$custom: #782886;
$custom-light: #a269aa;
$custom-dark: #000000;
JSON
{
  "hex": "#782886",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 291.064,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.16206,
    "h": 321.3
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#782886
secondary
#64B357
accent
#DD4A60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782886

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

Preview Lab → · Contrast checker → · Palette generator →

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