#784A8A#784A8A

#784A8A is a mid, moderate purple. Relative luminance 0.107; OKLCH L 48.8% C 0.111 H 315.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#784A8A
RGBrgb(120, 74, 138)
HSLhsl(283, 30%, 42%)
HSVhsv(283, 46%, 54%)
CMYKcmyk(13%, 46.4%, 0%, 45.9%)
CIE-LABlab(39.12, 31.32, -27.98)
CIE-LCHlch(39.12, 42.00, 318.22°)
OKLaboklab(48.8% 0.08 -0.0775)
OKLCHoklch(48.8% 0.111 315.9)
XYZxyz(14.7813, 10.7260, 25.3315)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784A8A #5C8A4A
analogous
#584A8A #784A8A #8A4A7C
triadic
#784A8A #8A784A #4A8A78
tetradic
#784A8A #8A584A #5C8A4A #4A7C8A
square
#784A8A #8A584A #5C8A4A #4A7C8A
split-complementary
#784A8A #7C8A4A #4A8A58
monochromatic
#331F3A #553562 #784A8A #9865AC #B38DC2

Accessibility & contrast

On white

6.68
#784A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#784A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784A8A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784A8A#FFFFFF#000000##FFFFFF
##784A8A1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#775363
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #784a8a;
/* rgb */ color: rgb(120, 74, 138);
/* oklch */ color: oklch(48.8% 0.111 315.9);
Tailwind
colors: {
  custom: {
    50: '#a07eac',
    500: '#784a8a',
    950: '#000000',
  },
}
SCSS
$custom: #784a8a;
$custom-light: #a07eac;
$custom-dark: #000000;
JSON
{
  "hex": "#784a8a",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 283.125,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.11137,
    "h": 315.9
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#784A8A
secondary
#8EAE82
accent
#C6617E
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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