#794097#794097

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

Color values

HEX#794097
RGBrgb(121, 64, 151)
HSLhsl(279, 40%, 42%)
HSVhsv(279, 58%, 59%)
CMYKcmyk(19.9%, 57.6%, 0%, 40.8%)
CIE-LABlab(37.78, 40.19, -37.98)
CIE-LCHlch(37.78, 55.29, 316.62°)
OKLaboklab(48.07% 0.0974 -0.1064)
OKLCHoklch(48.07% 0.144 312.5)
XYZxyz(15.3035, 9.9665, 30.3897)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794097 #5E9740
analogous
#4D4097 #794097 #97408A
triadic
#794097 #977940 #409779
tetradic
#794097 #974D40 #5E9740 #408A97
square
#794097 #974D40 #5E9740 #408A97
split-complementary
#794097 #8A9740 #40974D
monochromatic
#341C41 #572E6C #794097 #995BB9 #B486CC

Accessibility & contrast

On white

7.02
#794097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#794097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794097
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794097#FFFFFF#000000##FFFFFF
##7940971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#764F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794097;
/* rgb */ color: rgb(121, 64, 151);
/* oklch */ color: oklch(48.1% 0.144 312.5);
Tailwind
colors: {
  custom: {
    50: '#a277b6',
    500: '#794097',
    950: '#000000',
  },
}
SCSS
$custom: #794097;
$custom-light: #a277b6;
$custom-dark: #000000;
JSON
{
  "hex": "#794097",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 279.31,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.14424,
    "h": 312.5
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#794097
secondary
#90B67D
accent
#D05781
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794097

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

Preview Lab → · Contrast checker → · Palette generator →

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