#784F96#784F96

#784F96 is a mid, moderate violet. Relative luminance 0.118; OKLCH L 50.3% C 0.117 H 309.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#784F96
RGBrgb(120, 79, 150)
HSLhsl(275, 31%, 45%)
HSVhsv(275, 47%, 59%)
CMYKcmyk(20%, 47.3%, 0%, 41.2%)
CIE-LABlab(40.88, 31.18, -32.48)
CIE-LCHlch(40.88, 45.03, 313.83°)
OKLaboklab(50.31% 0.0744 -0.0905)
OKLCHoklch(50.31% 0.117 309.4)
XYZxyz(16.0457, 11.7873, 30.2781)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F96 #6D964F
analogous
#554F96 #784F96 #964F90
triadic
#784F96 #96784F #4F9678
tetradic
#784F96 #96554F #6D964F #4F9096
square
#784F96 #96554F #6D964F #4F9096
split-complementary
#784F96 #90964F #4F9655
monochromatic
#382546 #583A6E #784F96 #966FB3 #B497C8

Accessibility & contrast

On white

6.25
#784F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#784F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F96
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F96#FFFFFF#000000##FFFFFF
##784F961.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#745A6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784f96;
/* rgb */ color: rgb(120, 79, 150);
/* oklch */ color: oklch(50.3% 0.117 309.4);
Tailwind
colors: {
  custom: {
    50: '#a081b5',
    500: '#784f96',
    950: '#000000',
  },
}
SCSS
$custom: #784f96;
$custom-light: #a081b5;
$custom-dark: #000000;
JSON
{
  "hex": "#784f96",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 274.648,
    "s": 31.004,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.11717,
    "h": 309.4
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#784F96
secondary
#9DB58C
accent
#C7618C
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784F96

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

Preview Lab → · Contrast checker → · Palette generator →

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