#794DFF#794DFF

#794DFF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.247 H 287.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#794DFF
RGBrgb(121, 77, 255)
HSLhsl(255, 100%, 65%)
HSVhsv(255, 70%, 100%)
CMYKcmyk(52.5%, 69.8%, 0%, 0%)
CIE-LABlab(47.74, 60.24, -82.07)
CIE-LCHlch(47.74, 101.81, 306.28°)
OKLaboklab(57.59% 0.0732 -0.2359)
OKLCHoklch(57.59% 0.247 287.2)
XYZxyz(28.5837, 16.5912, 96.2846)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DFF #D3FF4D
analogous
#4D7AFF #794DFF #D24DFF
triadic
#794DFF #FF794D #4DFF79
tetradic
#794DFF #FF4D7A #D3FF4D #4DFFD2
square
#794DFF #FF4D7A #D3FF4D #4DFFD2
split-complementary
#794DFF #FFD24D #7AFF4D
monochromatic
#3400D2 #4B10FF #794DFF #A78AFF #D5C7FF

Accessibility & contrast

On white

4.86
#794DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#794DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DFF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DFF#FFFFFF#000000##FFFFFF
##794DFF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#437CA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #794dff;
/* rgb */ color: rgb(121, 77, 255);
/* oklch */ color: oklch(57.6% 0.247 287.2);
Tailwind
colors: {
  custom: {
    50: '#ab82ff',
    500: '#794dff',
    950: '#000000',
  },
}
SCSS
$custom: #794dff;
$custom-light: #ab82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#794dff",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 254.831,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.24701,
    "h": 287.2
  },
  "luminance": 0.16593
}

Semantic roles & 50–950 ramp

primary
#794DFF
secondary
#E3F2B6
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #794DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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