#794699#794699

#794699 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.1% C 0.137 H 310.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#794699
RGBrgb(121, 70, 153)
HSLhsl(277, 37%, 44%)
HSVhsv(277, 54%, 60%)
CMYKcmyk(20.9%, 54.2%, 0%, 40%)
CIE-LABlab(39.15, 37.35, -37.01)
CIE-LCHlch(39.15, 52.58, 315.26°)
OKLaboklab(49.11% 0.0891 -0.1036)
OKLCHoklch(49.11% 0.137 310.7)
XYZxyz(15.8240, 10.7455, 31.3713)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794699 #669946
analogous
#4F4699 #794699 #99468F
triadic
#794699 #997946 #469979
tetradic
#794699 #994F46 #669946 #468F99
square
#794699 #994F46 #669946 #468F99
split-complementary
#794699 #8F9946 #46994F
monochromatic
#372045 #58336F #794699 #9864B8 #B48ECB

Accessibility & contrast

On white

6.67
#794699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#794699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794699
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794699#FFFFFF#000000##FFFFFF
##7946991.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#755469
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794699;
/* rgb */ color: rgb(121, 70, 153);
/* oklch */ color: oklch(49.1% 0.137 310.7);
Tailwind
colors: {
  custom: {
    50: '#a27bb7',
    500: '#794699',
    950: '#000000',
  },
}
SCSS
$custom: #794699;
$custom-light: #a27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#794699",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 276.867,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.13669,
    "h": 310.7
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#794699
secondary
#98B784
accent
#CD5B87
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794699

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

Preview Lab → · Contrast checker → · Palette generator →

#794699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva