#784C8A#784C8A

#784C8A is a mid, moderate purple. Relative luminance 0.110; OKLCH L 49.1% C 0.108 H 315.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#784C8A
RGBrgb(120, 76, 138)
HSLhsl(283, 29%, 42%)
HSVhsv(283, 45%, 54%)
CMYKcmyk(13%, 44.9%, 0%, 45.9%)
CIE-LABlab(39.58, 30.15, -27.26)
CIE-LCHlch(39.58, 40.65, 317.88°)
OKLaboklab(49.14% 0.0769 -0.0754)
OKLCHoklch(49.14% 0.108 315.6)
XYZxyz(14.9169, 10.9973, 25.3767)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C8A #5E8A4C
analogous
#594C8A #784C8A #8A4C7D
triadic
#784C8A #8A784C #4C8A78
tetradic
#784C8A #8A594C #5E8A4C #4C7D8A
square
#784C8A #8A594C #5E8A4C #4C7D8A
split-complementary
#784C8A #7D8A4C #4C8A59
monochromatic
#33213B #563663 #784C8A #9868AC #B38FC1

Accessibility & contrast

On white

6.56
#784C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#784C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C8A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C8A#FFFFFF#000000##FFFFFF
##784C8A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#775564
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #784c8a;
/* rgb */ color: rgb(120, 76, 138);
/* oklch */ color: oklch(49.1% 0.108 315.6);
Tailwind
colors: {
  custom: {
    50: '#a07fac',
    500: '#784c8a',
    950: '#000000',
  },
}
SCSS
$custom: #784c8a;
$custom-light: #a07fac;
$custom-dark: #000000;
JSON
{
  "hex": "#784c8a",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 282.581,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.10771,
    "h": 315.6
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#784C8A
secondary
#90AE84
accent
#C5637F
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#784C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva