#794FE0#794FE0

#794FE0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.209 H 291.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#794FE0
RGBrgb(121, 79, 224)
HSLhsl(257, 70%, 59%)
HSVhsv(257, 65%, 88%)
CMYKcmyk(46%, 64.7%, 0%, 12.2%)
CIE-LABlab(45.69, 50.72, -68.00)
CIE-LCHlch(45.69, 84.83, 306.72°)
OKLaboklab(55.37% 0.0762 -0.1946)
OKLCHoklch(55.37% 0.209 291.4)
XYZxyz(24.1319, 15.0379, 72.1377)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE0 #B6E04F
analogous
#4F6EE0 #794FE0 #C14FE0
triadic
#794FE0 #E0794F #4FE079
tetradic
#794FE0 #E04F6E #B6E04F #4FE0C1
square
#794FE0 #E04F6E #B6E04F #4FE0C1
split-complementary
#794FE0 #E0C14F #6EE04F
monochromatic
#401B9A #5524CE #794FE0 #A183E9 #C8B7F2

Accessibility & contrast

On white

5.24
#794FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#794FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FE0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FE0#FFFFFF#000000##FFFFFF
##794FE01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#597291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794fe0;
/* rgb */ color: rgb(121, 79, 224);
/* oklch */ color: oklch(55.4% 0.209 291.4);
Tailwind
colors: {
  custom: {
    50: '#a783eb',
    500: '#794fe0',
    950: '#000000',
  },
}
SCSS
$custom: #794fe0;
$custom-light: #a783eb;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe0",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 257.379,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.20898,
    "h": 291.4
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#794FE0
secondary
#D1E2A9
accent
#ED3BB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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