#784F99#784F99

#784F99 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.5% C 0.121 H 308.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#784F99
RGBrgb(120, 79, 153)
HSLhsl(273, 32%, 45%)
HSVhsv(273, 48%, 60%)
CMYKcmyk(21.6%, 48.4%, 0%, 40%)
CIE-LABlab(41.03, 31.91, -34.04)
CIE-LCHlch(41.03, 46.65, 313.15°)
OKLaboklab(50.48% 0.0748 -0.095)
OKLCHoklch(50.48% 0.121 308.2)
XYZxyz(16.2904, 11.8851, 31.5667)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784F99 #70994F
analogous
#534F99 #784F99 #994F95
triadic
#784F99 #99784F #4F9978
tetradic
#784F99 #99534F #70994F #4F9599
square
#784F99 #99534F #70994F #4F9599
split-complementary
#784F99 #95994F #4F9953
monochromatic
#392548 #583A71 #784F99 #9670B5 #B498CA

Accessibility & contrast

On white

6.22
#784F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#784F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784F99
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784F99#FFFFFF#000000##FFFFFF
##784F991.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#735B6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #784f99;
/* rgb */ color: rgb(120, 79, 153);
/* oklch */ color: oklch(50.5% 0.121 308.2);
Tailwind
colors: {
  custom: {
    50: '#a181b7',
    500: '#784f99',
    950: '#000000',
  },
}
SCSS
$custom: #784f99;
$custom-light: #a181b7;
$custom-dark: #000000;
JSON
{
  "hex": "#784f99",
  "rgb": {
    "r": 120,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 273.243,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.12096,
    "h": 308.2
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#784F99
secondary
#A0B78D
accent
#C8608E
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784F99

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

Preview Lab → · Contrast checker → · Palette generator →

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