#794C99#794C99

#794C99 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.127 H 309.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#794C99
RGBrgb(121, 76, 153)
HSLhsl(275, 34%, 45%)
HSVhsv(275, 50%, 60%)
CMYKcmyk(20.9%, 50.3%, 0%, 40%)
CIE-LABlab(40.47, 33.94, -34.92)
CIE-LCHlch(40.47, 48.70, 314.18°)
OKLaboklab(50.08% 0.0805 -0.0976)
OKLCHoklch(50.08% 0.127 309.5)
XYZxyz(16.2183, 11.5340, 31.5027)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794C99 #6C994C
analogous
#534C99 #794C99 #994C92
triadic
#794C99 #99794C #4C9979
tetradic
#794C99 #99534C #6C994C #4C9299
square
#794C99 #99534C #6C994C #4C9299
split-complementary
#794C99 #92994C #4C9953
monochromatic
#382347 #593870 #794C99 #976CB6 #B495CA

Accessibility & contrast

On white

6.35
#794C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#794C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794C99
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794C99#FFFFFF#000000##FFFFFF
##794C991.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#75596B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #794c99;
/* rgb */ color: rgb(121, 76, 153);
/* oklch */ color: oklch(50.1% 0.127 309.5);
Tailwind
colors: {
  custom: {
    50: '#a17fb7',
    500: '#794c99',
    950: '#000000',
  },
}
SCSS
$custom: #794c99;
$custom-light: #a17fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#794c99",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 275.065,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.12651,
    "h": 309.5
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#794C99
secondary
#9DB78A
accent
#CA5E8B
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794C99

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

Preview Lab → · Contrast checker → · Palette generator →

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