#784C8D#784C8D

#784C8D is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.3% C 0.111 H 314.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#784C8D
RGBrgb(120, 76, 141)
HSLhsl(281, 30%, 43%)
HSVhsv(281, 46%, 55%)
CMYKcmyk(14.9%, 46.1%, 0%, 44.7%)
CIE-LABlab(39.72, 30.83, -28.85)
CIE-LCHlch(39.72, 42.23, 316.90°)
OKLaboklab(49.3% 0.0775 -0.08)
OKLCHoklch(49.3% 0.111 314.1)
XYZxyz(15.1371, 11.0854, 26.5364)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784C8D #618D4C
analogous
#574C8D #784C8D #8D4C82
triadic
#784C8D #8D784C #4C8D78
tetradic
#784C8D #8D574C #618D4C #4C828D
square
#784C8D #8D574C #618D4C #4C828D
split-complementary
#784C8D #828D4C #4C8D57
monochromatic
#34213D #563765 #784C8D #9768AE #B390C3

Accessibility & contrast

On white

6.53
#784C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#784C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784C8D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784C8D#FFFFFF#000000##FFFFFF
##784C8D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#765566
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784c8d;
/* rgb */ color: rgb(120, 76, 141);
/* oklch */ color: oklch(49.3% 0.111 314.1);
Tailwind
colors: {
  custom: {
    50: '#a07fae',
    500: '#784c8d',
    950: '#000000',
  },
}
SCSS
$custom: #784c8d;
$custom-light: #a07fae;
$custom-dark: #000000;
JSON
{
  "hex": "#784c8d",
  "rgb": {
    "r": 120,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 280.615,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.493,
    "c": 0.11135,
    "h": 314.1
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#784C8D
secondary
#93AF85
accent
#C66282
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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