#794EFF#794EFF

#794EFF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.246 H 287.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#794EFF
RGBrgb(121, 78, 255)
HSLhsl(255, 100%, 65%)
HSVhsv(255, 69%, 100%)
CMYKcmyk(52.5%, 69.4%, 0%, 0%)
CIE-LABlab(47.92, 59.74, -81.78)
CIE-LCHlch(47.92, 101.27, 306.15°)
OKLaboklab(57.72% 0.0724 -0.235)
OKLCHoklch(57.72% 0.246 287.1)
XYZxyz(28.6542, 16.7323, 96.3081)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EFF #D4FF4E
analogous
#4E7CFF #794EFF #D14EFF
triadic
#794EFF #FF794E #4EFF79
tetradic
#794EFF #FF4E7C #D4FF4E #4EFFD1
square
#794EFF #FF4E7C #D4FF4E #4EFFD1
split-complementary
#794EFF #FFD14E #7CFF4E
monochromatic
#3300D3 #4B11FF #794EFF #A78BFF #D6C8FF

Accessibility & contrast

On white

4.83
#794EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#794EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EFF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EFF#FFFFFF#000000##FFFFFF
##794EFF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794eff;
/* rgb */ color: rgb(121, 78, 255);
/* oklch */ color: oklch(57.7% 0.246 287.1);
Tailwind
colors: {
  custom: {
    50: '#ab83ff',
    500: '#794eff',
    950: '#000000',
  },
}
SCSS
$custom: #794eff;
$custom-light: #ab83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#794eff",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 254.576,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.24595,
    "h": 287.1
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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