#784388#784388

#784388 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.5% C 0.122 H 318.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#784388
RGBrgb(120, 67, 136)
HSLhsl(286, 34%, 40%)
HSVhsv(286, 51%, 53%)
CMYKcmyk(11.8%, 50.7%, 0%, 46.7%)
CIE-LABlab(37.45, 34.88, -29.37)
CIE-LCHlch(37.45, 45.59, 319.91°)
OKLaboklab(47.53% 0.0903 -0.0814)
OKLCHoklch(47.53% 0.122 318)
XYZxyz(14.1962, 9.7854, 24.4288)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784388 #538843
analogous
#564388 #784388 #884376
triadic
#784388 #887843 #438878
tetradic
#784388 #885643 #538843 #437688
square
#784388 #885643 #538843 #437688
split-complementary
#784388 #768843 #438856
monochromatic
#301B36 #542F5F #784388 #9B5AAE #B483C2

Accessibility & contrast

On white

7.10
#784388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#784388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784388
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784388#FFFFFF#000000##FFFFFF
##7843881.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558A
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#784D5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #784388;
/* rgb */ color: rgb(120, 67, 136);
/* oklch */ color: oklch(47.5% 0.122 318.0);
Tailwind
colors: {
  custom: {
    50: '#a179ab',
    500: '#784388',
    950: '#000000',
  },
}
SCSS
$custom: #784388;
$custom-light: #a179ab;
$custom-dark: #000000;
JSON
{
  "hex": "#784388",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 286.087,
    "s": 33.99,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.12162,
    "h": 318
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#784388
secondary
#86AD7A
accent
#CA5E77
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #784388

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

Preview Lab → · Contrast checker → · Palette generator →

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