#794DF0#794DF0

#794DF0 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.230 H 289.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#794DF0
RGBrgb(121, 77, 240)
HSLhsl(256, 84%, 62%)
HSVhsv(256, 68%, 94%)
CMYKcmyk(49.6%, 67.9%, 0%, 5.9%)
CIE-LABlab(46.53, 56.14, -75.67)
CIE-LCHlch(46.53, 94.22, 306.58°)
OKLaboklab(56.36% 0.0759 -0.2171)
OKLCHoklch(56.36% 0.23 289.3)
XYZxyz(26.2627, 15.6628, 84.0606)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DF0 #C4F04D
analogous
#4D73F0 #794DF0 #CA4DF0
triadic
#794DF0 #F0794D #4DF079
tetradic
#794DF0 #F04D73 #C4F04D #4DF0CA
square
#794DF0 #F04D73 #C4F04D #4DF0CA
split-complementary
#794DF0 #F0CA4D #73F04D
monochromatic
#3B0FB3 #4F15EB #794DF0 #A385F5 #CEBEFA

Accessibility & contrast

On white

5.08
#794DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#794DF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DF0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DF0#FFFFFF#000000##FFFFFF
##794DF01.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#006AED
Tritanopia (blue-blind)
#4F7699
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #794df0;
/* rgb */ color: rgb(121, 77, 240);
/* oklch */ color: oklch(56.4% 0.230 289.3);
Tailwind
colors: {
  custom: {
    50: '#a982f6',
    500: '#794df0',
    950: '#000000',
  },
}
SCSS
$custom: #794df0;
$custom-light: #a982f6;
$custom-dark: #000000;
JSON
{
  "hex": "#794df0",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 240
  },
  "hsl": {
    "h": 256.196,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.22999,
    "h": 289.3
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#794DF0
secondary
#DAEAAE
accent
#E105A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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