#784591#784591

#784591 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.4% C 0.129 H 313.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#784591
RGBrgb(120, 69, 145)
HSLhsl(280, 36%, 42%)
HSVhsv(280, 52%, 57%)
CMYKcmyk(17.2%, 52.4%, 0%, 43.1%)
CIE-LABlab(38.37, 35.77, -33.42)
CIE-LCHlch(38.37, 48.95, 316.95°)
OKLaboklab(48.36% 0.0885 -0.0932)
OKLCHoklch(48.36% 0.129 313.5)
XYZxyz(14.9838, 10.2940, 27.9802)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784591 #5E9145
analogous
#524591 #784591 #914584
triadic
#784591 #917845 #459178
tetradic
#784591 #915245 #5E9145 #458491
square
#784591 #915245 #5E9145 #458491
split-complementary
#784591 #849145 #459152
monochromatic
#331E3E #563168 #784591 #9860B3 #B389C7

Accessibility & contrast

On white

6.87
#784591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#784591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784591
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784591#FFFFFF#000000##FFFFFF
##7845911.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335794
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#765164
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784591;
/* rgb */ color: rgb(120, 69, 145);
/* oklch */ color: oklch(48.4% 0.129 313.5);
Tailwind
colors: {
  custom: {
    50: '#a17ab1',
    500: '#784591',
    950: '#000000',
  },
}
SCSS
$custom: #784591;
$custom-light: #a17ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#784591",
  "rgb": {
    "r": 120,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 280.263,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48357,
    "c": 0.12853,
    "h": 313.5
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#784591
secondary
#90B280
accent
#CC5C81
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784591

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

Preview Lab → · Contrast checker → · Palette generator →

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