#784D97#784D97

#784D97 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.122 H 309.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#784D97
RGBrgb(120, 77, 151)
HSLhsl(275, 32%, 45%)
HSVhsv(275, 49%, 59%)
CMYKcmyk(20.5%, 49%, 0%, 40.8%)
CIE-LABlab(40.47, 32.59, -33.73)
CIE-LCHlch(40.47, 46.90, 314.02°)
OKLaboklab(50.02% 0.0775 -0.0941)
OKLCHoklch(50.02% 0.122 309.5)
XYZxyz(15.9845, 11.5354, 30.6567)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D97 #6C974D
analogous
#534D97 #784D97 #974D91
triadic
#784D97 #97784D #4D9778
tetradic
#784D97 #97534D #6C974D #4D9197
square
#784D97 #97534D #6C974D #4D9197
split-complementary
#784D97 #91974D #4D9753
monochromatic
#382446 #58386E #784D97 #966DB4 #B395C9

Accessibility & contrast

On white

6.35
#784D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#784D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D97
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D97#FFFFFF#000000##FFFFFF
##784D971.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D9A
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#74596B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784d97;
/* rgb */ color: rgb(120, 77, 151);
/* oklch */ color: oklch(50.0% 0.122 309.5);
Tailwind
colors: {
  custom: {
    50: '#a180b6',
    500: '#784d97',
    950: '#000000',
  },
}
SCSS
$custom: #784d97;
$custom-light: #a180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#784d97",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 274.865,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.12193,
    "h": 309.5
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#784D97
secondary
#9CB68A
accent
#C95F8B
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784D97

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

Preview Lab → · Contrast checker → · Palette generator →

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