#794FD7#794FD7

#794FD7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.198 H 292.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#794FD7
RGBrgb(121, 79, 215)
HSLhsl(259, 63%, 58%)
HSVhsv(259, 63%, 84%)
CMYKcmyk(43.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(45.03, 48.27, -63.94)
CIE-LCHlch(45.03, 80.11, 307.05°)
OKLaboklab(54.68% 0.0771 -0.1826)
OKLCHoklch(54.68% 0.198 292.9)
XYZxyz(22.9435, 14.5625, 65.8788)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FD7 #ADD74F
analogous
#4F69D7 #794FD7 #BD4FD7
triadic
#794FD7 #D7794F #4FD779
tetradic
#794FD7 #D74F69 #ADD74F #4FD7BD
square
#794FD7 #D74F69 #ADD74F #4FD7BD
split-complementary
#794FD7 #D7BD4F #69D74F
monochromatic
#41208C #582BBE #794FD7 #9F81E2 #C5B3EE

Accessibility & contrast

On white

5.37
#794FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#794FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FD7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FD7#FFFFFF#000000##FFFFFF
##794FD71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#5E6F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794fd7;
/* rgb */ color: rgb(121, 79, 215);
/* oklch */ color: oklch(54.7% 0.198 292.9);
Tailwind
colors: {
  custom: {
    50: '#a682e4',
    500: '#794fd7',
    950: '#000000',
  },
}
SCSS
$custom: #794fd7;
$custom-light: #a682e4;
$custom-dark: #000000;
JSON
{
  "hex": "#794fd7",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 258.529,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.19825,
    "h": 292.9
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#794FD7
secondary
#CBDCA6
accent
#E642B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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