#794FB9#794FB9

#794FB9 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.162 H 299.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#794FB9
RGBrgb(121, 79, 185)
HSLhsl(264, 43%, 52%)
HSVhsv(264, 57%, 73%)
CMYKcmyk(34.6%, 57.3%, 0%, 27.5%)
CIE-LABlab(43.00, 40.25, -49.86)
CIE-LCHlch(43.00, 64.08, 308.92°)
OKLaboklab(52.56% 0.0784 -0.1413)
OKLCHoklch(52.56% 0.162 299)
XYZxyz(19.4360, 13.1595, 47.4056)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FB9 #8FB94F
analogous
#4F5AB9 #794FB9 #AE4FB9
triadic
#794FB9 #B9794F #4FB979
tetradic
#794FB9 #B94F5A #8FB94F #4FB9AE
square
#794FB9 #B94F5A #8FB94F #4FB9AE
split-complementary
#794FB9 #B9AE4F #5AB94F
monochromatic
#402865 #5C3A91 #794FB9 #9A7BCA #BCA7DC

Accessibility & contrast

On white

5.78
#794FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#794FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FB9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FB9#FFFFFF#000000##FFFFFF
##794FB91.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BC
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#6B657C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #794fb9;
/* rgb */ color: rgb(121, 79, 185);
/* oklch */ color: oklch(52.6% 0.162 299.0);
Tailwind
colors: {
  custom: {
    50: '#a382cf',
    500: '#794fb9',
    950: '#000000',
  },
}
SCSS
$custom: #794fb9;
$custom-light: #a382cf;
$custom-dark: #000000;
JSON
{
  "hex": "#794fb9",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 263.774,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.16156,
    "h": 299
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#794FB9
secondary
#B7C99B
accent
#D355A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #794FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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