#794FB5#794FB5

#794FB5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.157 H 300.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#794FB5
RGBrgb(121, 79, 181)
HSLhsl(265, 41%, 51%)
HSVhsv(265, 56%, 71%)
CMYKcmyk(33.1%, 56.4%, 0%, 29%)
CIE-LABlab(42.75, 39.21, -47.91)
CIE-LCHlch(42.75, 61.91, 309.30°)
OKLaboklab(52.3% 0.0783 -0.1356)
OKLCHoklch(52.3% 0.157 300)
XYZxyz(19.0196, 12.9930, 45.2130)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FB5 #8BB54F
analogous
#4F58B5 #794FB5 #AC4FB5
triadic
#794FB5 #B5794F #4FB579
tetradic
#794FB5 #B54F58 #8BB54F #4FB5AC
square
#794FB5 #B54F58 #8BB54F #4FB5AC
split-complementary
#794FB5 #B5AC4F #58B54F
monochromatic
#402961 #5C3B8C #794FB5 #9A7AC7 #BBA5D9

Accessibility & contrast

On white

5.84
#794FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#794FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FB5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FB5#FFFFFF#000000##FFFFFF
##794FB51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B8
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#6D637A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #794fb5;
/* rgb */ color: rgb(121, 79, 181);
/* oklch */ color: oklch(52.3% 0.157 300.0);
Tailwind
colors: {
  custom: {
    50: '#a382cc',
    500: '#794fb5',
    950: '#000000',
  },
}
SCSS
$custom: #794fb5;
$custom-light: #a382cc;
$custom-dark: #000000;
JSON
{
  "hex": "#794fb5",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 264.706,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.15657,
    "h": 300
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#794FB5
secondary
#B4C699
accent
#D1579F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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