#794FF0#794FF0

#794FF0 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.228 H 289.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#794FF0
RGBrgb(121, 79, 240)
HSLhsl(256, 84%, 63%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49.6%, 67.1%, 0%, 5.9%)
CIE-LABlab(46.90, 55.11, -75.05)
CIE-LCHlch(46.90, 93.11, 306.29°)
OKLaboklab(56.62% 0.0741 -0.2153)
OKLCHoklch(56.62% 0.228 289)
XYZxyz(26.4048, 15.9470, 84.1080)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FF0 #C6F04F
analogous
#4F76F0 #794FF0 #C94FF0
triadic
#794FF0 #F0794F #4FF079
tetradic
#794FF0 #F04F76 #C6F04F #4FF0C9
square
#794FF0 #F04F76 #C6F04F #4FF0C9
split-complementary
#794FF0 #F0C94F #76F04F
monochromatic
#3B0FB5 #4E17EB #794FF0 #A487F5 #CFC0FA

Accessibility & contrast

On white

5.01
#794FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#794FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FF0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FF0#FFFFFF#000000##FFFFFF
##794FF01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794ff0;
/* rgb */ color: rgb(121, 79, 240);
/* oklch */ color: oklch(56.6% 0.228 289.0);
Tailwind
colors: {
  custom: {
    50: '#a983f6',
    500: '#794ff0',
    950: '#000000',
  },
}
SCSS
$custom: #794ff0;
$custom-light: #a983f6;
$custom-dark: #000000;
JSON
{
  "hex": "#794ff0",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 255.652,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.2277,
    "h": 289
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#794FF0
secondary
#DBEBB0
accent
#E105A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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