#784B8A#784B8A

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

Color values

HEX#784B8A
RGBrgb(120, 75, 138)
HSLhsl(283, 30%, 42%)
HSVhsv(283, 46%, 54%)
CMYKcmyk(13%, 45.7%, 0%, 45.9%)
CIE-LABlab(39.34, 30.73, -27.62)
CIE-LCHlch(39.34, 41.32, 318.05°)
OKLaboklab(48.97% 0.0785 -0.0764)
OKLCHoklch(48.97% 0.11 315.7)
XYZxyz(14.8486, 10.8606, 25.3539)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784B8A #5D8A4B
analogous
#594B8A #784B8A #8A4B7D
triadic
#784B8A #8A784B #4B8A78
tetradic
#784B8A #8A594B #5D8A4B #4B7D8A
square
#784B8A #8A594B #5D8A4B #4B7D8A
split-complementary
#784B8A #7D8A4B #4B8A59
monochromatic
#33203B #563562 #784B8A #9866AC #B38EC2

Accessibility & contrast

On white

6.62
#784B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#784B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784B8A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784B8A#FFFFFF#000000##FFFFFF
##784B8A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#775464
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #784b8a;
/* rgb */ color: rgb(120, 75, 138);
/* oklch */ color: oklch(49.0% 0.110 315.7);
Tailwind
colors: {
  custom: {
    50: '#a07eac',
    500: '#784b8a',
    950: '#000000',
  },
}
SCSS
$custom: #784b8a;
$custom-light: #a07eac;
$custom-dark: #000000;
JSON
{
  "hex": "#784b8a",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 282.857,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.10955,
    "h": 315.7
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#784B8A
secondary
#8FAE83
accent
#C6627F
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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