#794BB9#794BB9

#794BB9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.167 H 299.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#794BB9
RGBrgb(121, 75, 185)
HSLhsl(265, 44%, 51%)
HSVhsv(265, 59%, 73%)
CMYKcmyk(34.6%, 59.5%, 0%, 27.5%)
CIE-LABlab(42.15, 42.49, -51.22)
CIE-LCHlch(42.15, 66.55, 309.68°)
OKLaboklab(51.94% 0.0834 -0.1453)
OKLCHoklch(51.94% 0.167 299.9)
XYZxyz(19.1561, 12.5997, 47.3123)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BB9 #8BB94B
analogous
#4B54B9 #794BB9 #B04BB9
triadic
#794BB9 #B9794B #4BB979
tetradic
#794BB9 #B94B54 #8BB94B #4BB9B0
square
#794BB9 #B94B54 #8BB94B #4BB9B0
split-complementary
#794BB9 #B9B04B #54B94B
monochromatic
#402763 #5C388F #794BB9 #9A77CA #BBA3DB

Accessibility & contrast

On white

5.97
#794BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#794BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BB9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BB9#FFFFFF#000000##FFFFFF
##794BB91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C63BD
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#6B627B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794bb9;
/* rgb */ color: rgb(121, 75, 185);
/* oklch */ color: oklch(51.9% 0.167 299.9);
Tailwind
colors: {
  custom: {
    50: '#a47fcf',
    500: '#794bb9',
    950: '#000000',
  },
}
SCSS
$custom: #794bb9;
$custom-light: #a47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#794bb9",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 265.091,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.16749,
    "h": 299.9
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#794BB9
secondary
#B4C898
accent
#D4549E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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