#782896#782896

#782896 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 315.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#782896
RGBrgb(120, 40, 150)
HSLhsl(284, 58%, 37%)
HSVhsv(284, 73%, 59%)
CMYKcmyk(20%, 73.3%, 0%, 41.2%)
CIE-LABlab(33.38, 51.27, -44.42)
CIE-LCHlch(33.38, 67.84, 319.09°)
OKLaboklab(44.83% 0.1254 -0.1252)
OKLCHoklch(44.83% 0.177 315)
XYZxyz(14.0086, 7.7132, 29.5991)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782896 #469628
analogous
#412896 #782896 #96287D
triadic
#782896 #967828 #289678
tetradic
#782896 #964128 #469628 #287D96
square
#782896 #964128 #469628 #287D96
split-complementary
#782896 #7D9628 #289641
monochromatic
#2B0E35 #511B66 #782896 #9F35C6 #B663D5

Accessibility & contrast

On white

8.26
#782896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#782896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782896
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782896#FFFFFF#000000##FFFFFF
##7828961.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#245194
Tritanopia (blue-blind)
#763F5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782896;
/* rgb */ color: rgb(120, 40, 150);
/* oklch */ color: oklch(44.8% 0.177 315.0);
Tailwind
colors: {
  custom: {
    50: '#a36ab5',
    500: '#782896',
    950: '#000000',
  },
}
SCSS
$custom: #782896;
$custom-light: #a36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#782896",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 283.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.17716,
    "h": 315
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#782896
secondary
#78BB5F
accent
#E14771
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782896

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

Preview Lab → · Contrast checker → · Palette generator →

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