#784E99#784E99

#784E99 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.123 H 308.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#784E99
RGBrgb(120, 78, 153)
HSLhsl(274, 32%, 45%)
HSVhsv(274, 49%, 60%)
CMYKcmyk(21.6%, 49%, 0%, 40%)
CIE-LABlab(40.80, 32.49, -34.40)
CIE-LCHlch(40.80, 47.32, 313.36°)
OKLaboklab(50.31% 0.0763 -0.0961)
OKLCHoklch(50.31% 0.123 308.4)
XYZxyz(16.2188, 11.7420, 31.5428)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#784E99 #6F994E
analogous
#524E99 #784E99 #994E95
triadic
#784E99 #99784E #4E9978
tetradic
#784E99 #99524E #6F994E #4E9599
square
#784E99 #99524E #6F994E #4E9599
split-complementary
#784E99 #95994E #4E9952
monochromatic
#382548 #583970 #784E99 #966FB5 #B497CA

Accessibility & contrast

On white

6.27
#784E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#784E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #784E99
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##784E99#FFFFFF#000000##FFFFFF
##784E991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#735A6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #784e99;
/* rgb */ color: rgb(120, 78, 153);
/* oklch */ color: oklch(50.3% 0.123 308.4);
Tailwind
colors: {
  custom: {
    50: '#a181b7',
    500: '#784e99',
    950: '#000000',
  },
}
SCSS
$custom: #784e99;
$custom-light: #a181b7;
$custom-dark: #000000;
JSON
{
  "hex": "#784e99",
  "rgb": {
    "r": 120,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 273.6,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.12269,
    "h": 308.4
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#784E99
secondary
#9FB78C
accent
#C95F8E
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #784E99

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

Preview Lab → · Contrast checker → · Palette generator →

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