#784D99#784D99

#784D99 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.124 H 308.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#784D99
RGBrgb(120, 77, 153)
HSLhsl(274, 33%, 45%)
HSVhsv(274, 50%, 60%)
CMYKcmyk(21.6%, 49.7%, 0%, 40%)
CIE-LABlab(40.57, 33.07, -34.76)
CIE-LCHlch(40.57, 47.98, 313.57°)
OKLaboklab(50.14% 0.0778 -0.0971)
OKLCHoklch(50.14% 0.124 308.7)
XYZxyz(16.1483, 11.6009, 31.5193)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784D99 #6E994D
analogous
#524D99 #784D99 #994D94
triadic
#784D99 #99784D #4D9978
tetradic
#784D99 #99524D #6E994D #4D9499
square
#784D99 #99524D #6E994D #4D9499
split-complementary
#784D99 #94994D #4D9952
monochromatic
#382448 #583970 #784D99 #966DB6 #B496CA

Accessibility & contrast

On white

6.32
#784D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#784D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784D99
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784D99#FFFFFF#000000##FFFFFF
##784D991.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#745A6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784d99;
/* rgb */ color: rgb(120, 77, 153);
/* oklch */ color: oklch(50.1% 0.124 308.7);
Tailwind
colors: {
  custom: {
    50: '#a180b7',
    500: '#784d99',
    950: '#000000',
  },
}
SCSS
$custom: #784d99;
$custom-light: #a180b7;
$custom-dark: #000000;
JSON
{
  "hex": "#784d99",
  "rgb": {
    "r": 120,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 273.947,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.12442,
    "h": 308.7
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#784D99
secondary
#9EB78B
accent
#C95F8D
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784D99

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

Preview Lab → · Contrast checker → · Palette generator →

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