#794FC5#794FC5

#794FC5 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.176 H 296.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#794FC5
RGBrgb(121, 79, 197)
HSLhsl(261, 50%, 54%)
HSVhsv(261, 60%, 77%)
CMYKcmyk(38.6%, 59.9%, 0%, 22.7%)
CIE-LABlab(43.78, 43.42, -55.59)
CIE-LCHlch(43.78, 70.54, 307.99°)
OKLaboklab(53.38% 0.0782 -0.1581)
OKLCHoklch(53.38% 0.176 296.3)
XYZxyz(20.7566, 13.6878, 54.3609)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FC5 #9BC54F
analogous
#4F60C5 #794FC5 #B44FC5
triadic
#794FC5 #C5794F #4FC579
tetradic
#794FC5 #C54F60 #9BC54F #4FC5B4
square
#794FC5 #C54F60 #9BC54F #4FC5B4
split-complementary
#794FC5 #C5B44F #60C54F
monochromatic
#422674 #5C35A2 #794FC5 #9C7DD4 #BFABE3

Accessibility & contrast

On white

5.62
#794FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#794FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FC5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FC5#FFFFFF#000000##FFFFFF
##794FC51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#666982
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794fc5;
/* rgb */ color: rgb(121, 79, 197);
/* oklch */ color: oklch(53.4% 0.176 296.3);
Tailwind
colors: {
  custom: {
    50: '#a582d7',
    500: '#794fc5',
    950: '#000000',
  },
}
SCSS
$custom: #794fc5;
$custom-light: #a582d7;
$custom-dark: #000000;
JSON
{
  "hex": "#794fc5",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 261.356,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.1764,
    "h": 296.3
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#794FC5
secondary
#BFD19F
accent
#DA4EA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #794FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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