#784A8D#784A8D

#784A8D is a mid, moderate purple. Relative luminance 0.108; OKLCH L 49.0% C 0.115 H 314.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#784A8D
RGBrgb(120, 74, 141)
HSLhsl(281, 31%, 42%)
HSVhsv(281, 48%, 55%)
CMYKcmyk(14.9%, 47.5%, 0%, 44.7%)
CIE-LABlab(39.27, 32.00, -29.57)
CIE-LCHlch(39.27, 43.57, 317.26°)
OKLaboklab(48.96% 0.0805 -0.0821)
OKLCHoklch(48.96% 0.115 314.5)
XYZxyz(15.0015, 10.8141, 26.4912)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784A8D #5F8D4A
analogous
#574A8D #784A8D #8D4A81
triadic
#784A8D #8D784A #4A8D78
tetradic
#784A8D #8D574A #5F8D4A #4A818D
square
#784A8D #8D574A #5F8D4A #4A818D
split-complementary
#784A8D #818D4A #4A8D57
monochromatic
#34203D #563565 #784A8D #9866AF #B38EC4

Accessibility & contrast

On white

6.64
#784A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#784A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784A8D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784A8D#FFFFFF#000000##FFFFFF
##784A8D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#775465
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #784a8d;
/* rgb */ color: rgb(120, 74, 141);
/* oklch */ color: oklch(49.0% 0.115 314.5);
Tailwind
colors: {
  custom: {
    50: '#a07eae',
    500: '#784a8d',
    950: '#000000',
  },
}
SCSS
$custom: #784a8d;
$custom-light: #a07eae;
$custom-dark: #000000;
JSON
{
  "hex": "#784a8d",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 281.194,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.11497,
    "h": 314.5
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#784A8D
secondary
#91B083
accent
#C76081
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #784A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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