#794EF0#794EF0

#794EF0 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.229 H 289.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#794EF0
RGBrgb(121, 78, 240)
HSLhsl(256, 84%, 62%)
HSVhsv(256, 68%, 94%)
CMYKcmyk(49.6%, 67.5%, 0%, 5.9%)
CIE-LABlab(46.72, 55.63, -75.36)
CIE-LCHlch(46.72, 93.67, 306.43°)
OKLaboklab(56.49% 0.075 -0.2162)
OKLCHoklch(56.49% 0.229 289.1)
XYZxyz(26.3332, 15.8038, 84.0841)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EF0 #C5F04E
analogous
#4E74F0 #794EF0 #CA4EF0
triadic
#794EF0 #F0794E #4EF079
tetradic
#794EF0 #F04E74 #C5F04E #4EF0CA
square
#794EF0 #F04E74 #C5F04E #4EF0CA
split-complementary
#794EF0 #F0CA4E #74F04E
monochromatic
#3B0FB4 #4E16EB #794EF0 #A486F5 #CEBFFA

Accessibility & contrast

On white

5.05
#794EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#794EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EF0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EF0#FFFFFF#000000##FFFFFF
##794EF01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#4F7799
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #794ef0;
/* rgb */ color: rgb(121, 78, 240);
/* oklch */ color: oklch(56.5% 0.229 289.1);
Tailwind
colors: {
  custom: {
    50: '#a983f6',
    500: '#794ef0',
    950: '#000000',
  },
}
SCSS
$custom: #794ef0;
$custom-light: #a983f6;
$custom-dark: #000000;
JSON
{
  "hex": "#794ef0",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 240
  },
  "hsl": {
    "h": 255.926,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.22885,
    "h": 289.1
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#794EF0
secondary
#DBEAAF
accent
#E105A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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