#782184#782184

#782184 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.169 H 322.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#782184
RGBrgb(120, 33, 132)
HSLhsl(293, 60%, 32%)
HSVhsv(293, 75%, 52%)
CMYKcmyk(9.1%, 75%, 0%, 48.2%)
CIE-LABlab(31.22, 50.40, -36.77)
CIE-LCHlch(31.22, 62.39, 323.89°)
OKLaboklab(42.92% 0.1341 -0.1027)
OKLCHoklch(42.92% 0.169 322.6)
XYZxyz(12.4540, 6.7474, 22.4717)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782184 #2D8421
analogous
#462184 #782184 #84215F
triadic
#782184 #847821 #218478
tetradic
#782184 #844621 #2D8421 #215F84
square
#782184 #844621 #2D8421 #215F84
split-complementary
#782184 #5F8421 #218446
monochromatic
#1F0922 #4B1553 #782184 #A52DB5 #C24DD2

Accessibility & contrast

On white

8.94
#782184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#782184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782184
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782184#FFFFFF#000000##FFFFFF
##7821841.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#7A3351
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782184;
/* rgb */ color: rgb(120, 33, 132);
/* oklch */ color: oklch(42.9% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#a266a8',
    500: '#782184',
    950: '#000000',
  },
}
SCSS
$custom: #782184;
$custom-light: #a266a8;
$custom-dark: #000000;
JSON
{
  "hex": "#782184",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 292.727,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.16893,
    "h": 322.6
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#782184
secondary
#58B64B
accent
#E34558
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782184

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

Preview Lab → · Contrast checker → · Palette generator →

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