#784393#784393

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

Color values

HEX#784393
RGBrgb(120, 67, 147)
HSLhsl(280, 37%, 42%)
HSVhsv(280, 54%, 58%)
CMYKcmyk(18.4%, 54.4%, 0%, 42.4%)
CIE-LABlab(38.05, 37.35, -35.14)
CIE-LCHlch(38.05, 51.28, 316.75°)
OKLaboklab(48.16% 0.0916 -0.0982)
OKLCHoklch(48.16% 0.134 313)
XYZxyz(15.0184, 10.1143, 28.7592)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784393 #5E9343
analogous
#504393 #784393 #934386
triadic
#784393 #937843 #439378
tetradic
#784393 #935043 #5E9343 #438693
square
#784393 #935043 #5E9343 #438693
split-complementary
#784393 #869343 #439350
monochromatic
#331D3F #563069 #784393 #985EB5 #B388C9

Accessibility & contrast

On white

6.95
#784393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#784393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784393
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784393#FFFFFF#000000##FFFFFF
##7843931.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5796
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#755064
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #784393;
/* rgb */ color: rgb(120, 67, 147);
/* oklch */ color: oklch(48.2% 0.134 313.0);
Tailwind
colors: {
  custom: {
    50: '#a179b3',
    500: '#784393',
    950: '#000000',
  },
}
SCSS
$custom: #784393;
$custom-light: #a179b3;
$custom-dark: #000000;
JSON
{
  "hex": "#784393",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 279.75,
    "s": 37.383,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.13427,
    "h": 313
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#784393
secondary
#90B47E
accent
#CD5A81
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #784393

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

Preview Lab → · Contrast checker → · Palette generator →

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