#794FFF#794FFF

#794FFF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.245 H 287.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#794FFF
RGBrgb(121, 79, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 69%, 100%)
CMYKcmyk(52.5%, 69%, 0%, 0%)
CIE-LABlab(48.10, 59.24, -81.48)
CIE-LCHlch(48.10, 100.74, 306.02°)
OKLaboklab(57.85% 0.0716 -0.2342)
OKLCHoklch(57.85% 0.245 287)
XYZxyz(28.7258, 16.8754, 96.3320)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FFF #D5FF4F
analogous
#4F7DFF #794FFF #D14FFF
triadic
#794FFF #FF794F #4FFF79
tetradic
#794FFF #FF4F7D #D5FF4F #4FFFD1
square
#794FFF #FF4F7D #D5FF4F #4FFFD1
split-complementary
#794FFF #FFD14F #7DFF4F
monochromatic
#3200D4 #4A12FF #794FFF #A88CFF #D6C9FF

Accessibility & contrast

On white

4.80
#794FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#794FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FFF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FFF#FFFFFF#000000##FFFFFF
##794FFF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006DFC
Tritanopia (blue-blind)
#427DA2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #794fff;
/* rgb */ color: rgb(121, 79, 255);
/* oklch */ color: oklch(57.9% 0.245 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab84ff',
    500: '#794fff',
    950: '#000000',
  },
}
SCSS
$custom: #794fff;
$custom-light: #ab84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#794fff",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 254.318,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.24488,
    "h": 287
  },
  "luminance": 0.16877
}

Semantic roles & 50–950 ramp

primary
#794FFF
secondary
#E4F2B7
accent
#E600AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #794FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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