#784481#784481

#784481 is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.3% C 0.112 H 321.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#784481
RGBrgb(120, 68, 129)
HSLhsl(291, 31%, 39%)
HSVhsv(291, 47%, 51%)
CMYKcmyk(7%, 47.3%, 0%, 49.4%)
CIE-LABlab(37.32, 32.80, -25.27)
CIE-LCHlch(37.32, 41.41, 322.39°)
OKLaboklab(47.31% 0.0877 -0.0696)
OKLCHoklch(47.31% 0.112 321.5)
XYZxyz(13.7748, 9.7128, 21.9138)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784481 #4D8144
analogous
#594481 #784481 #81446B
triadic
#784481 #817844 #448178
tetradic
#784481 #815944 #4D8144 #446B81
square
#784481 #815944 #4D8144 #446B81
split-complementary
#784481 #6B8144 #448159
monochromatic
#2D1A31 #532F59 #784481 #9D5AA8 #B582BD

Accessibility & contrast

On white

7.14
#784481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#784481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784481
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784481#FFFFFF#000000##FFFFFF
##7844811.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#794C5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #784481;
/* rgb */ color: rgb(120, 68, 129);
/* oklch */ color: oklch(47.3% 0.112 321.5);
Tailwind
colors: {
  custom: {
    50: '#a07aa6',
    500: '#784481',
    950: '#000000',
  },
}
SCSS
$custom: #784481;
$custom-light: #a07aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#784481",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 129
  },
  "hsl": {
    "h": 291.148,
    "s": 30.964,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.11195,
    "h": 321.5
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#784481
secondary
#7FA878
accent
#C76170
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #784481

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

Preview Lab → · Contrast checker → · Palette generator →

#784481 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva