#784F8A#784F8A

#784F8A is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.7% C 0.102 H 315.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#784F8A
RGBrgb(120, 79, 138)
HSLhsl(282, 27%, 43%)
HSVhsv(282, 43%, 54%)
CMYKcmyk(13%, 42.8%, 0%, 45.9%)
CIE-LABlab(40.28, 28.39, -26.16)
CIE-LCHlch(40.28, 38.60, 317.34°)
OKLaboklab(49.67% 0.0722 -0.0723)
OKLCHoklch(49.67% 0.102 315)
XYZxyz(15.1284, 11.4204, 25.4472)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F8A #618A4F
analogous
#5B4F8A #784F8A #8A4F7E
triadic
#784F8A #8A784F #4F8A78
tetradic
#784F8A #8A5B4F #618A4F #4F7E8A
square
#784F8A #8A5B4F #618A4F #4F7E8A
split-complementary
#784F8A #7E8A4F #4F8A5B
monochromatic
#34223C #563963 #784F8A #976CAB #B393C1

Accessibility & contrast

On white

6.39
#784F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#784F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F8A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F8A#FFFFFF#000000##FFFFFF
##784F8A1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8C
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#775766
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784f8a;
/* rgb */ color: rgb(120, 79, 138);
/* oklch */ color: oklch(49.7% 0.102 315.0);
Tailwind
colors: {
  custom: {
    50: '#a081ac',
    500: '#784f8a',
    950: '#000000',
  },
}
SCSS
$custom: #784f8a;
$custom-light: #a081ac;
$custom-dark: #000000;
JSON
{
  "hex": "#784f8a",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 281.695,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.10218,
    "h": 315
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#784F8A
secondary
#93AE87
accent
#C46481
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0F0A10
muted
#7E7C7F

Preview Lab

Preview with #784F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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