#794FE6#794FE6

#794FE6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.216 H 290.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#794FE6
RGBrgb(121, 79, 230)
HSLhsl(257, 75%, 61%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(47.4%, 65.7%, 0%, 9.8%)
CIE-LABlab(46.14, 52.36, -70.67)
CIE-LCHlch(46.14, 87.95, 306.54°)
OKLaboklab(55.83% 0.0754 -0.2024)
OKLCHoklch(55.83% 0.216 290.4)
XYZxyz(24.9600, 15.3691, 76.4990)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE6 #BCE64F
analogous
#4F70E6 #794FE6 #C54FE6
triadic
#794FE6 #E6794F #4FE679
tetradic
#794FE6 #E64F70 #BCE64F #4FE6C5
square
#794FE6 #E64F70 #BCE64F #4FE6C5
split-complementary
#794FE6 #E6C54F #70E64F
monochromatic
#3E17A3 #531FD9 #794FE6 #A285EE #CBBAF5

Accessibility & contrast

On white

5.15
#794FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#794FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FE6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FE6#FFFFFF#000000##FFFFFF
##794FE61.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#567494
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794fe6;
/* rgb */ color: rgb(121, 79, 230);
/* oklch */ color: oklch(55.8% 0.216 290.4);
Tailwind
colors: {
  custom: {
    50: '#a883ef',
    500: '#794fe6',
    950: '#000000',
  },
}
SCSS
$custom: #794fe6;
$custom-light: #a883ef;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe6",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 256.689,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.21604,
    "h": 290.4
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#794FE6
secondary
#D5E5AC
accent
#D70E9F
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #794FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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