#794ED5#794ED5

#794ED5 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.197 H 293.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#794ED5
RGBrgb(121, 78, 213)
HSLhsl(259, 62%, 57%)
HSVhsv(259, 63%, 84%)
CMYKcmyk(43.2%, 63.4%, 0%, 16.5%)
CIE-LABlab(44.68, 48.27, -63.35)
CIE-LCHlch(44.68, 79.64, 307.30°)
OKLaboklab(54.39% 0.0783 -0.1809)
OKLCHoklch(54.39% 0.197 293.4)
XYZxyz(22.6165, 14.3172, 64.5098)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794ED5 #AAD54E
analogous
#4E67D5 #794ED5 #BD4ED5
triadic
#794ED5 #D5794E #4ED579
tetradic
#794ED5 #D54E67 #AAD54E #4ED5BD
square
#794ED5 #D54E67 #AAD54E #4ED5BD
split-complementary
#794ED5 #D5BD4E #67D54E
monochromatic
#412088 #592CBA #794ED5 #9E7FE1 #C4B1EC

Accessibility & contrast

On white

5.44
#794ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#794ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794ED5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794ED5#FFFFFF#000000##FFFFFF
##794ED51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#5F6D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #794ed5;
/* rgb */ color: rgb(121, 78, 213);
/* oklch */ color: oklch(54.4% 0.197 293.4);
Tailwind
colors: {
  custom: {
    50: '#a682e3',
    500: '#794ed5',
    950: '#000000',
  },
}
SCSS
$custom: #794ed5;
$custom-light: #a682e3;
$custom-dark: #000000;
JSON
{
  "hex": "#794ed5",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 259.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.19716,
    "h": 293.4
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#794ED5
secondary
#C9DBA4
accent
#E543B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #794ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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