#784D96#784D96

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

Color values

HEX#784D96
RGBrgb(120, 77, 150)
HSLhsl(275, 32%, 45%)
HSVhsv(275, 49%, 59%)
CMYKcmyk(20%, 48.7%, 0%, 41.2%)
CIE-LABlab(40.42, 32.35, -33.21)
CIE-LCHlch(40.42, 46.36, 314.25°)
OKLaboklab(49.97% 0.0774 -0.0926)
OKLCHoklch(49.97% 0.121 309.9)
XYZxyz(15.9036, 11.5031, 30.2308)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D96 #6B964D
analogous
#534D96 #784D96 #964D90
triadic
#784D96 #96784D #4D9678
tetradic
#784D96 #96534D #6B964D #4D9096
square
#784D96 #96534D #6B964D #4D9096
split-complementary
#784D96 #90964D #4D9653
monochromatic
#372345 #58386E #784D96 #966CB4 #B395C9

Accessibility & contrast

On white

6.36
#784D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#784D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D96
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D96#FFFFFF#000000##FFFFFF
##784D961.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#74596A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #784d96;
/* rgb */ color: rgb(120, 77, 150);
/* oklch */ color: oklch(50.0% 0.121 309.9);
Tailwind
colors: {
  custom: {
    50: '#a180b5',
    500: '#784d96',
    950: '#000000',
  },
}
SCSS
$custom: #784d96;
$custom-light: #a180b5;
$custom-dark: #000000;
JSON
{
  "hex": "#784d96",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 275.342,
    "s": 32.159,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.12068,
    "h": 309.9
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#784D96
secondary
#9CB58A
accent
#C85F8B
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784D96

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

Preview Lab → · Contrast checker → · Palette generator →

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