#784B97#784B97

#784B97 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.125 H 309.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#784B97
RGBrgb(120, 75, 151)
HSLhsl(276, 34%, 44%)
HSVhsv(276, 50%, 59%)
CMYKcmyk(20.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(40.01, 33.75, -34.44)
CIE-LCHlch(40.01, 48.22, 314.42°)
OKLaboklab(49.69% 0.0804 -0.0962)
OKLCHoklch(49.69% 0.125 309.9)
XYZxyz(15.8467, 11.2598, 30.6107)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784B97 #6A974B
analogous
#524B97 #784B97 #974B90
triadic
#784B97 #97784B #4B9778
tetradic
#784B97 #97524B #6A974B #4B9097
square
#784B97 #97524B #6A974B #4B9097
split-complementary
#784B97 #90974B #4B9752
monochromatic
#372245 #58376E #784B97 #976AB5 #B393C9

Accessibility & contrast

On white

6.46
#784B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#784B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784B97
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784B97#FFFFFF#000000##FFFFFF
##784B971.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#74576A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784b97;
/* rgb */ color: rgb(120, 75, 151);
/* oklch */ color: oklch(49.7% 0.125 309.9);
Tailwind
colors: {
  custom: {
    50: '#a17fb6',
    500: '#784b97',
    950: '#000000',
  },
}
SCSS
$custom: #784b97;
$custom-light: #a17fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#784b97",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 275.526,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.12539,
    "h": 309.9
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#784B97
secondary
#9BB688
accent
#CA5E8A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784B97

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

Preview Lab → · Contrast checker → · Palette generator →

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