#794AD7#794AD7

#794AD7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.205 H 293.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#794AD7
RGBrgb(121, 74, 215)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 66%, 84%)
CMYKcmyk(43.7%, 65.6%, 0%, 15.7%)
CIE-LABlab(44.04, 50.94, -65.54)
CIE-LCHlch(44.04, 83.00, 307.86°)
OKLaboklab(53.97% 0.0823 -0.1873)
OKLCHoklch(53.97% 0.205 293.7)
XYZxyz(22.5963, 13.8682, 65.7631)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794AD7 #A8D74A
analogous
#4A62D7 #794AD7 #C04AD7
triadic
#794AD7 #D7794A #4AD779
tetradic
#794AD7 #D74A62 #A8D74A #4AD7C0
square
#794AD7 #D74A62 #A8D74A #4AD7C0
split-complementary
#794AD7 #D7C04A #62D74A
monochromatic
#421E88 #5A29BB #794AD7 #9E7CE2 #C3AEED

Accessibility & contrast

On white

5.56
#794AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#794AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794AD7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794AD7#FFFFFF#000000##FFFFFF
##794AD71.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#5F6C8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794ad7;
/* rgb */ color: rgb(121, 74, 215);
/* oklch */ color: oklch(54.0% 0.205 293.7);
Tailwind
colors: {
  custom: {
    50: '#a77fe4',
    500: '#794ad7',
    950: '#000000',
  },
}
SCSS
$custom: #794ad7;
$custom-light: #a77fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#794ad7",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 260,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.20463,
    "h": 293.7
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#794AD7
secondary
#C8DBA2
accent
#E741B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #794AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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