#794CB3#794CB3

#794CB3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.159 H 301.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#794CB3
RGBrgb(121, 76, 179)
HSLhsl(266, 40%, 50%)
HSVhsv(266, 58%, 70%)
CMYKcmyk(32.4%, 57.5%, 0%, 29.8%)
CIE-LABlab(41.98, 40.39, -47.97)
CIE-LCHlch(41.98, 62.71, 310.09°)
OKLaboklab(51.69% 0.0822 -0.1357)
OKLCHoklch(51.69% 0.159 301.2)
XYZxyz(18.6044, 12.4884, 44.0694)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CB3 #86B34C
analogous
#4C52B3 #794CB3 #AD4CB3
triadic
#794CB3 #B3794C #4CB379
tetradic
#794CB3 #B34C52 #86B34C #4CB3AD
square
#794CB3 #B34C52 #86B34C #4CB3AD
split-complementary
#794CB3 #B3AD4C #52B34C
monochromatic
#3F285D #5C3A88 #794CB3 #9977C5 #B9A2D7

Accessibility & contrast

On white

6.00
#794CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#794CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CB3#FFFFFF#000000##FFFFFF
##794CB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B6
Deuteranopia (green-blind)
#3063B1
Tritanopia (blue-blind)
#6D6178
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794cb3;
/* rgb */ color: rgb(121, 76, 179);
/* oklch */ color: oklch(51.7% 0.159 301.2);
Tailwind
colors: {
  custom: {
    50: '#a380ca',
    500: '#794cb3',
    950: '#000000',
  },
}
SCSS
$custom: #794cb3;
$custom-light: #a380ca;
$custom-dark: #000000;
JSON
{
  "hex": "#794cb3",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 266.214,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.15866,
    "h": 301.2
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#794CB3
secondary
#B0C496
accent
#D0589C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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