#794CB4#794CB4

#794CB4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.160 H 300.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#794CB4
RGBrgb(121, 76, 180)
HSLhsl(266, 41%, 50%)
HSVhsv(266, 58%, 71%)
CMYKcmyk(32.8%, 57.8%, 0%, 29.4%)
CIE-LABlab(42.04, 40.64, -48.46)
CIE-LCHlch(42.04, 63.25, 309.99°)
OKLaboklab(51.76% 0.0822 -0.1372)
OKLCHoklch(51.76% 0.16 300.9)
XYZxyz(18.7059, 12.5290, 44.6040)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CB4 #87B44C
analogous
#4C53B4 #794CB4 #AD4CB4
triadic
#794CB4 #B4794C #4CB479
tetradic
#794CB4 #B44C53 #87B44C #4CB4AD
square
#794CB4 #B44C53 #87B44C #4CB4AD
split-complementary
#794CB4 #B4AD4C #53B44C
monochromatic
#3F275E #5C3A89 #794CB4 #9977C6 #BAA2D8

Accessibility & contrast

On white

5.99
#794CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#794CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CB4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CB4#FFFFFF#000000##FFFFFF
##794CB41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B7
Deuteranopia (green-blind)
#2F63B2
Tritanopia (blue-blind)
#6D6179
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794cb4;
/* rgb */ color: rgb(121, 76, 180);
/* oklch */ color: oklch(51.8% 0.160 300.9);
Tailwind
colors: {
  custom: {
    50: '#a380cb',
    500: '#794cb4',
    950: '#000000',
  },
}
SCSS
$custom: #794cb4;
$custom-light: #a380cb;
$custom-dark: #000000;
JSON
{
  "hex": "#794cb4",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 265.962,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.15989,
    "h": 300.9
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#794CB4
secondary
#B1C597
accent
#D1579C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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