#794D97#794D97

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

Color values

HEX#794D97
RGBrgb(121, 77, 151)
HSLhsl(276, 32%, 45%)
HSVhsv(276, 49%, 59%)
CMYKcmyk(19.9%, 49%, 0%, 40.8%)
CIE-LABlab(40.59, 32.89, -33.53)
CIE-LCHlch(40.59, 46.97, 314.44°)
OKLaboklab(50.14% 0.0788 -0.0935)
OKLCHoklch(50.14% 0.122 310.1)
XYZxyz(16.1239, 11.6073, 30.6632)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794D97 #6B974D
analogous
#544D97 #794D97 #974D90
triadic
#794D97 #97794D #4D9779
tetradic
#794D97 #97544D #6B974D #4D9097
square
#794D97 #97544D #6B974D #4D9097
split-complementary
#794D97 #90974D #4D9754
monochromatic
#382446 #59386E #794D97 #976DB4 #B495C9

Accessibility & contrast

On white

6.32
#794D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#794D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794D97
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794D97#FFFFFF#000000##FFFFFF
##794D971.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)
#3B5E9A
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#75596B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #794d97;
/* rgb */ color: rgb(121, 77, 151);
/* oklch */ color: oklch(50.1% 0.122 310.1);
Tailwind
colors: {
  custom: {
    50: '#a180b6',
    500: '#794d97',
    950: '#000000',
  },
}
SCSS
$custom: #794d97;
$custom-light: #a180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#794d97",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 275.676,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.1223,
    "h": 310.1
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#794D97
secondary
#9CB68A
accent
#C95F8A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794D97

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

Preview Lab → · Contrast checker → · Palette generator →

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