#784E8A#784E8A

#784E8A is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.5% C 0.104 H 315.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#784E8A
RGBrgb(120, 78, 138)
HSLhsl(282, 28%, 42%)
HSVhsv(282, 43%, 54%)
CMYKcmyk(13%, 43.5%, 0%, 45.9%)
CIE-LABlab(40.04, 28.98, -26.53)
CIE-LCHlch(40.04, 39.29, 317.52°)
OKLaboklab(49.49% 0.0738 -0.0733)
OKLCHoklch(49.49% 0.104 315.2)
XYZxyz(15.0569, 11.2772, 25.4234)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784E8A #608A4E
analogous
#5A4E8A #784E8A #8A4E7E
triadic
#784E8A #8A784E #4E8A78
tetradic
#784E8A #8A5A4E #608A4E #4E7E8A
square
#784E8A #8A5A4E #608A4E #4E7E8A
split-complementary
#784E8A #7E8A4E #4E8A5A
monochromatic
#34223C #563863 #784E8A #986AAB #B391C1

Accessibility & contrast

On white

6.45
#784E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#784E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784E8A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784E8A#FFFFFF#000000##FFFFFF
##784E8A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8C
Deuteranopia (green-blind)
#4E6088
Tritanopia (blue-blind)
#775665
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784e8a;
/* rgb */ color: rgb(120, 78, 138);
/* oklch */ color: oklch(49.5% 0.104 315.2);
Tailwind
colors: {
  custom: {
    50: '#a080ac',
    500: '#784e8a',
    950: '#000000',
  },
}
SCSS
$custom: #784e8a;
$custom-light: #a080ac;
$custom-dark: #000000;
JSON
{
  "hex": "#784e8a",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 282,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.10403,
    "h": 315.2
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#784E8A
secondary
#92AE86
accent
#C46481
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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