#794EF7#794EF7

#794EF7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.237 H 288.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#794EF7
RGBrgb(121, 78, 247)
HSLhsl(255, 91%, 64%)
HSVhsv(255, 68%, 97%)
CMYKcmyk(51%, 68.4%, 0%, 3.1%)
CIE-LABlab(47.27, 57.55, -78.38)
CIE-LCHlch(47.27, 97.23, 306.29°)
OKLaboklab(57.06% 0.0738 -0.2251)
OKLCHoklch(57.06% 0.237 288.2)
XYZxyz(27.3931, 16.2278, 89.6666)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EF7 #CCF74E
analogous
#4E77F7 #794EF7 #CD4EF7
triadic
#794EF7 #F7794E #4EF779
tetradic
#794EF7 #F74E77 #CCF74E #4EF7CD
square
#794EF7 #F74E77 #CCF74E #4EF7CD
split-complementary
#794EF7 #F7CD4E #77F74E
monochromatic
#3809C2 #4D13F4 #794EF7 #A589FA #D2C3FC

Accessibility & contrast

On white

4.95
#794EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#794EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EF7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EF7#FFFFFF#000000##FFFFFF
##794EF71.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#4A7A9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #794ef7;
/* rgb */ color: rgb(121, 78, 247);
/* oklch */ color: oklch(57.1% 0.237 288.2);
Tailwind
colors: {
  custom: {
    50: '#aa83fb',
    500: '#794ef7',
    950: '#000000',
  },
}
SCSS
$custom: #794ef7;
$custom-light: #aa83fb;
$custom-dark: #000000;
JSON
{
  "hex": "#794ef7",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 255.266,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57059,
    "c": 0.23687,
    "h": 288.2
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#794EF7
secondary
#DFEEB3
accent
#E600AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #794EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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