#794BB3#794BB3

#794BB3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.160 H 301.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#794BB3
RGBrgb(121, 75, 179)
HSLhsl(267, 41%, 50%)
HSVhsv(267, 58%, 70%)
CMYKcmyk(32.4%, 58.1%, 0%, 29.8%)
CIE-LABlab(41.77, 40.95, -48.31)
CIE-LCHlch(41.77, 63.33, 310.28°)
OKLaboklab(51.54% 0.0834 -0.1367)
OKLCHoklch(51.54% 0.16 301.4)
XYZxyz(18.5360, 12.3517, 44.0467)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794BB3 #85B34B
analogous
#4B51B3 #794BB3 #AD4BB3
triadic
#794BB3 #B3794B #4BB379
tetradic
#794BB3 #B34B51 #85B34B #4BB3AD
square
#794BB3 #B34B51 #85B34B #4BB3AD
split-complementary
#794BB3 #B3AD4B #51B34B
monochromatic
#3F275D #5C3988 #794BB3 #9976C5 #B9A1D8

Accessibility & contrast

On white

6.05
#794BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#794BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794BB3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794BB3#FFFFFF#000000##FFFFFF
##794BB31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#6D6078
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794bb3;
/* rgb */ color: rgb(121, 75, 179);
/* oklch */ color: oklch(51.5% 0.160 301.4);
Tailwind
colors: {
  custom: {
    50: '#a37fca',
    500: '#794bb3',
    950: '#000000',
  },
}
SCSS
$custom: #794bb3;
$custom-light: #a37fca;
$custom-dark: #000000;
JSON
{
  "hex": "#794bb3",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 266.538,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.16018,
    "h": 301.4
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#794BB3
secondary
#B0C495
accent
#D1579B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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