#784386#784386

#784386 is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.4% C 0.119 H 319.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#784386
RGBrgb(120, 67, 134)
HSLhsl(287, 33%, 39%)
HSVhsv(287, 50%, 53%)
CMYKcmyk(10.4%, 50%, 0%, 47.5%)
CIE-LABlab(37.35, 34.44, -28.30)
CIE-LCHlch(37.35, 44.58, 320.59°)
OKLaboklab(47.42% 0.09 -0.0783)
OKLCHoklch(47.42% 0.119 319)
XYZxyz(14.0554, 9.7291, 23.6872)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784386 #518643
analogous
#574386 #784386 #864373
triadic
#784386 #867843 #438678
tetradic
#784386 #865743 #518643 #437386
square
#784386 #865743 #518643 #437386
split-complementary
#784386 #738643 #438657
monochromatic
#2F1A34 #532F5D #784386 #9B5AAC #B483C1

Accessibility & contrast

On white

7.13
#784386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#784386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784386
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784386#FFFFFF#000000##FFFFFF
##7843861.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#784C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #784386;
/* rgb */ color: rgb(120, 67, 134);
/* oklch */ color: oklch(47.4% 0.119 319.0);
Tailwind
colors: {
  custom: {
    50: '#a079a9',
    500: '#784386',
    950: '#000000',
  },
}
SCSS
$custom: #784386;
$custom-light: #a079a9;
$custom-dark: #000000;
JSON
{
  "hex": "#784386",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 287.463,
    "s": 33.333,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.11936,
    "h": 319
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#784386
secondary
#84AC79
accent
#C95E75
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784386

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

Preview Lab → · Contrast checker → · Palette generator →

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