#794A91#794A91

#794A91 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.120 H 313.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#794A91
RGBrgb(121, 74, 145)
HSLhsl(280, 32%, 43%)
HSVhsv(280, 49%, 57%)
CMYKcmyk(16.6%, 49%, 0%, 43.1%)
CIE-LABlab(39.59, 33.22, -31.48)
CIE-LCHlch(39.59, 45.76, 316.54°)
OKLaboklab(49.3% 0.0824 -0.0875)
OKLCHoklch(49.3% 0.12 313.3)
XYZxyz(15.4439, 11.0072, 28.0936)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794A91 #62914A
analogous
#554A91 #794A91 #914A85
triadic
#794A91 #91794A #4A9179
tetradic
#794A91 #91554A #62914A #4A8591
square
#794A91 #91554A #62914A #4A8591
split-complementary
#794A91 #85914A #4A9155
monochromatic
#352140 #573568 #794A91 #9867B1 #B48FC6

Accessibility & contrast

On white

6.56
#794A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#794A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794A91
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794A91#FFFFFF#000000##FFFFFF
##794A911.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B93
Deuteranopia (green-blind)
#485E8F
Tritanopia (blue-blind)
#775567
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #794a91;
/* rgb */ color: rgb(121, 74, 145);
/* oklch */ color: oklch(49.3% 0.120 313.3);
Tailwind
colors: {
  custom: {
    50: '#a17eb1',
    500: '#794a91',
    950: '#000000',
  },
}
SCSS
$custom: #794a91;
$custom-light: #a17eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#794a91",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 279.718,
    "s": 32.42,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.12023,
    "h": 313.3
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#794A91
secondary
#94B285
accent
#C95F83
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794A91

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

Preview Lab → · Contrast checker → · Palette generator →

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