#794DB9#794DB9

#794DB9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.165 H 299.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#794DB9
RGBrgb(121, 77, 185)
HSLhsl(264, 44%, 51%)
HSVhsv(264, 58%, 73%)
CMYKcmyk(34.6%, 58.4%, 0%, 27.5%)
CIE-LABlab(42.57, 41.38, -50.54)
CIE-LCHlch(42.57, 65.32, 309.31°)
OKLaboklab(52.25% 0.0809 -0.1433)
OKLCHoklch(52.25% 0.165 299.5)
XYZxyz(19.2939, 12.8753, 47.3582)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DB9 #8DB94D
analogous
#4D57B9 #794DB9 #AF4DB9
triadic
#794DB9 #B9794D #4DB979
tetradic
#794DB9 #B94D57 #8DB94D #4DB9AF
square
#794DB9 #B94D57 #8DB94D #4DB9AF
split-complementary
#794DB9 #B9AF4D #57B94D
monochromatic
#402764 #5C3990 #794DB9 #9A79CA #BBA5DC

Accessibility & contrast

On white

5.87
#794DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#794DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DB9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DB9#FFFFFF#000000##FFFFFF
##794DB91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BD
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#6B637B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794db9;
/* rgb */ color: rgb(121, 77, 185);
/* oklch */ color: oklch(52.2% 0.165 299.5);
Tailwind
colors: {
  custom: {
    50: '#a481cf',
    500: '#794db9',
    950: '#000000',
  },
}
SCSS
$custom: #794db9;
$custom-light: #a481cf;
$custom-dark: #000000;
JSON
{
  "hex": "#794db9",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 264.444,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.16455,
    "h": 299.5
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#794DB9
secondary
#B5C999
accent
#D355A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #794DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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