#784B95#784B95

#784B95 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.123 H 310.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#784B95
RGBrgb(120, 75, 149)
HSLhsl(276, 33%, 44%)
HSVhsv(276, 50%, 58%)
CMYKcmyk(19.5%, 49.7%, 0%, 41.6%)
CIE-LABlab(39.91, 33.28, -33.41)
CIE-LCHlch(39.91, 47.15, 314.89°)
OKLaboklab(49.57% 0.0802 -0.0932)
OKLCHoklch(49.57% 0.123 310.7)
XYZxyz(15.6856, 11.1954, 29.7626)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784B95 #68954B
analogous
#534B95 #784B95 #954B8D
triadic
#784B95 #95784B #4B9578
tetradic
#784B95 #95534B #68954B #4B8D95
square
#784B95 #95534B #68954B #4B8D95
split-complementary
#784B95 #8D954B #4B9553
monochromatic
#362244 #57376C #784B95 #9769B4 #B392C8

Accessibility & contrast

On white

6.48
#784B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#784B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784B95
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784B95#FFFFFF#000000##FFFFFF
##784B951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#465F93
Tritanopia (blue-blind)
#755769
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #784b95;
/* rgb */ color: rgb(120, 75, 149);
/* oklch */ color: oklch(49.6% 0.123 310.7);
Tailwind
colors: {
  custom: {
    50: '#a17eb4',
    500: '#784b95',
    950: '#000000',
  },
}
SCSS
$custom: #784b95;
$custom-light: #a17eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#784b95",
  "rgb": {
    "r": 120,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 276.486,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.12293,
    "h": 310.7
  },
  "luminance": 0.11195
}

Semantic roles & 50–950 ramp

primary
#784B95
secondary
#99B487
accent
#C95F88
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784B95

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

Preview Lab → · Contrast checker → · Palette generator →

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