#794098#794098

#794098 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.145 H 312.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#794098
RGBrgb(121, 64, 152)
HSLhsl(279, 41%, 42%)
HSVhsv(279, 58%, 60%)
CMYKcmyk(20.4%, 57.9%, 0%, 40.4%)
CIE-LABlab(37.84, 40.42, -38.49)
CIE-LCHlch(37.84, 55.81, 316.40°)
OKLaboklab(48.13% 0.0974 -0.1079)
OKLCHoklch(48.13% 0.145 312.1)
XYZxyz(15.3850, 9.9991, 30.8192)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794098 #5F9840
analogous
#4D4098 #794098 #98408B
triadic
#794098 #987940 #409879
tetradic
#794098 #984D40 #5F9840 #408B98
square
#794098 #984D40 #5F9840 #408B98
split-complementary
#794098 #8B9840 #40984D
monochromatic
#341C42 #572E6D #794098 #995BBA #B486CC

Accessibility & contrast

On white

7.00
#794098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#794098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794098
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794098#FFFFFF#000000##FFFFFF
##7940981.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#764F66
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794098;
/* rgb */ color: rgb(121, 64, 152);
/* oklch */ color: oklch(48.1% 0.145 312.1);
Tailwind
colors: {
  custom: {
    50: '#a277b7',
    500: '#794098',
    950: '#000000',
  },
}
SCSS
$custom: #794098;
$custom-light: #a277b7;
$custom-dark: #000000;
JSON
{
  "hex": "#794098",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 278.864,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.14538,
    "h": 312.1
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#794098
secondary
#91B77D
accent
#D15782
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794098

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

Preview Lab → · Contrast checker → · Palette generator →

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