#784C8B#784C8B

#784C8B is a mid, moderate purple. Relative luminance 0.110; OKLCH L 49.2% C 0.109 H 315.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#784C8B
RGBrgb(120, 76, 139)
HSLhsl(282, 29%, 42%)
HSVhsv(282, 45%, 55%)
CMYKcmyk(13.7%, 45.3%, 0%, 45.5%)
CIE-LABlab(39.62, 30.38, -27.79)
CIE-LCHlch(39.62, 41.17, 317.54°)
OKLaboklab(49.19% 0.0771 -0.0769)
OKLCHoklch(49.19% 0.109 315.1)
XYZxyz(14.9896, 11.0264, 25.7598)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C8B #5F8B4C
analogous
#594C8B #784C8B #8B4C7E
triadic
#784C8B #8B784C #4C8B78
tetradic
#784C8B #8B594C #5F8B4C #4C7E8B
square
#784C8B #8B594C #5F8B4C #4C7E8B
split-complementary
#784C8B #7E8B4C #4C8B59
monochromatic
#34213C #563663 #784C8B #9868AC #B38FC2

Accessibility & contrast

On white

6.55
#784C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#784C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C8B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C8B#FFFFFF#000000##FFFFFF
##784C8B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#4C5F89
Tritanopia (blue-blind)
#775565
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #784c8b;
/* rgb */ color: rgb(120, 76, 139);
/* oklch */ color: oklch(49.2% 0.109 315.1);
Tailwind
colors: {
  custom: {
    50: '#a07fad',
    500: '#784c8b',
    950: '#000000',
  },
}
SCSS
$custom: #784c8b;
$custom-light: #a07fad;
$custom-dark: #000000;
JSON
{
  "hex": "#784c8b",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 281.905,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.10892,
    "h": 315.1
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#784C8B
secondary
#91AE85
accent
#C66280
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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