#794D99#794D99

#794D99 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.125 H 309.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#794D99
RGBrgb(121, 77, 153)
HSLhsl(275, 33%, 45%)
HSVhsv(275, 50%, 60%)
CMYKcmyk(20.9%, 49.7%, 0%, 40%)
CIE-LABlab(40.69, 33.36, -34.57)
CIE-LCHlch(40.69, 48.04, 313.98°)
OKLaboklab(50.25% 0.0791 -0.0965)
OKLCHoklch(50.25% 0.125 309.3)
XYZxyz(16.2877, 11.6729, 31.5259)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794D99 #6D994D
analogous
#534D99 #794D99 #994D93
triadic
#794D99 #99794D #4D9979
tetradic
#794D99 #99534D #6D994D #4D9399
square
#794D99 #99534D #6D994D #4D9399
split-complementary
#794D99 #93994D #4D9953
monochromatic
#392448 #593970 #794D99 #976DB6 #B496CA

Accessibility & contrast

On white

6.30
#794D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#794D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794D99
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794D99#FFFFFF#000000##FFFFFF
##794D991.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794d99;
/* rgb */ color: rgb(121, 77, 153);
/* oklch */ color: oklch(50.3% 0.125 309.3);
Tailwind
colors: {
  custom: {
    50: '#a180b7',
    500: '#794d99',
    950: '#000000',
  },
}
SCSS
$custom: #794d99;
$custom-light: #a180b7;
$custom-dark: #000000;
JSON
{
  "hex": "#794d99",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 274.737,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.12479,
    "h": 309.3
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#794D99
secondary
#9DB78B
accent
#C95F8B
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794D99

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

Preview Lab → · Contrast checker → · Palette generator →

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