#784394#784394

#784394 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.2% C 0.135 H 312.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#784394
RGBrgb(120, 67, 148)
HSLhsl(279, 38%, 42%)
HSVhsv(279, 55%, 58%)
CMYKcmyk(18.9%, 54.7%, 0%, 42%)
CIE-LABlab(38.10, 37.58, -35.66)
CIE-LCHlch(38.10, 51.80, 316.51°)
OKLaboklab(48.22% 0.0917 -0.0997)
OKLCHoklch(48.22% 0.135 312.6)
XYZxyz(15.0973, 10.1459, 29.1743)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784394 #5F9443
analogous
#504394 #784394 #944388
triadic
#784394 #947843 #439478
tetradic
#784394 #945043 #5F9443 #438894
square
#784394 #945043 #5F9443 #438894
split-complementary
#784394 #889443 #439450
monochromatic
#341D40 #56306A #784394 #985EB6 #B388C9

Accessibility & contrast

On white

6.93
#784394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#784394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784394
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784394#FFFFFF#000000##FFFFFF
##7843941.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#755065
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784394;
/* rgb */ color: rgb(120, 67, 148);
/* oklch */ color: oklch(48.2% 0.135 312.6);
Tailwind
colors: {
  custom: {
    50: '#a179b4',
    500: '#784394',
    950: '#000000',
  },
}
SCSS
$custom: #784394;
$custom-light: #a179b4;
$custom-dark: #000000;
JSON
{
  "hex": "#784394",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 279.259,
    "s": 37.674,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48218,
    "c": 0.13543,
    "h": 312.6
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#784394
secondary
#91B47F
accent
#CE5A82
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784394

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

Preview Lab → · Contrast checker → · Palette generator →

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