#784A95#784A95

#784A95 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.125 H 310.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#784A95
RGBrgb(120, 74, 149)
HSLhsl(277, 34%, 44%)
HSVhsv(277, 50%, 58%)
CMYKcmyk(19.5%, 50.3%, 0%, 41.6%)
CIE-LABlab(39.68, 33.85, -33.76)
CIE-LCHlch(39.68, 47.81, 315.08°)
OKLaboklab(49.41% 0.0817 -0.0942)
OKLCHoklch(49.41% 0.125 310.9)
XYZxyz(15.6183, 11.0608, 29.7401)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784A95 #67954A
analogous
#524A95 #784A95 #954A8C
triadic
#784A95 #95784A #4A9578
tetradic
#784A95 #95524A #67954A #4A8C95
square
#784A95 #95524A #67954A #4A8C95
split-complementary
#784A95 #8C954A #4A9552
monochromatic
#362143 #57366C #784A95 #9768B4 #B391C8

Accessibility & contrast

On white

6.54
#784A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#784A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784A95
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784A95#FFFFFF#000000##FFFFFF
##784A951.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B98
Deuteranopia (green-blind)
#455E93
Tritanopia (blue-blind)
#755668
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #784a95;
/* rgb */ color: rgb(120, 74, 149);
/* oklch */ color: oklch(49.4% 0.125 310.9);
Tailwind
colors: {
  custom: {
    50: '#a17eb4',
    500: '#784a95',
    950: '#000000',
  },
}
SCSS
$custom: #784a95;
$custom-light: #a17eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#784a95",
  "rgb": {
    "r": 120,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 276.8,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.12467,
    "h": 310.9
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#784A95
secondary
#98B486
accent
#CA5E88
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784A95

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

Preview Lab → · Contrast checker → · Palette generator →

#784A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva