#784191#784191

#784191 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.7% C 0.135 H 314.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#784191
RGBrgb(120, 65, 145)
HSLhsl(281, 38%, 41%)
HSVhsv(281, 55%, 57%)
CMYKcmyk(17.2%, 55.2%, 0%, 43.1%)
CIE-LABlab(37.51, 38.00, -34.77)
CIE-LCHlch(37.51, 51.51, 317.55°)
OKLaboklab(47.73% 0.0943 -0.0971)
OKLCHoklch(47.73% 0.135 314.2)
XYZxyz(14.7460, 9.8184, 27.9009)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784191 #5A9141
analogous
#504191 #784191 #914182
triadic
#784191 #917841 #419178
tetradic
#784191 #915041 #5A9141 #418291
square
#784191 #915041 #5A9141 #418291
split-complementary
#784191 #829141 #419150
monochromatic
#321B3C #552E67 #784191 #995AB5 #B384C8

Accessibility & contrast

On white

7.09
#784191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#784191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #784191
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784191#FFFFFF#000000##FFFFFF
##7841911.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#764E63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #784191;
/* rgb */ color: rgb(120, 65, 145);
/* oklch */ color: oklch(47.7% 0.135 314.2);
Tailwind
colors: {
  custom: {
    50: '#a178b1',
    500: '#784191',
    950: '#000000',
  },
}
SCSS
$custom: #784191;
$custom-light: #a178b1;
$custom-dark: #000000;
JSON
{
  "hex": "#784191",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 281.25,
    "s": 38.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.13533,
    "h": 314.2
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#784191
secondary
#8CB37B
accent
#CE5A7E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784191

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

Preview Lab → · Contrast checker → · Palette generator →

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