#794EAE#794EAE

#794EAE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.149 H 302.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#794EAE
RGBrgb(121, 78, 174)
HSLhsl(267, 38%, 49%)
HSVhsv(267, 55%, 68%)
CMYKcmyk(30.5%, 55.2%, 0%, 31.8%)
CIE-LABlab(42.11, 37.98, -44.82)
CIE-LCHlch(42.11, 58.75, 310.27°)
OKLaboklab(51.69% 0.0794 -0.1265)
OKLCHoklch(51.69% 0.149 302.1)
XYZxyz(18.2478, 12.5697, 41.5010)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EAE #83AE4E
analogous
#4E53AE #794EAE #A94EAE
triadic
#794EAE #AE794E #4EAE79
tetradic
#794EAE #AE4E53 #83AE4E #4EAEA9
square
#794EAE #AE4E53 #83AE4E #4EAEA9
split-complementary
#794EAE #AEA94E #53AE4E
monochromatic
#3E2859 #5C3B84 #794EAE #9977C2 #B9A1D5

Accessibility & contrast

On white

5.98
#794EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#794EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EAE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EAE#FFFFFF#000000##FFFFFF
##794EAE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#6F6176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #794eae;
/* rgb */ color: rgb(121, 78, 174);
/* oklch */ color: oklch(51.7% 0.149 302.1);
Tailwind
colors: {
  custom: {
    50: '#a381c7',
    500: '#794eae',
    950: '#000000',
  },
}
SCSS
$custom: #794eae;
$custom-light: #a381c7;
$custom-dark: #000000;
JSON
{
  "hex": "#794eae",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 266.875,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.14936,
    "h": 302.1
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#794EAE
secondary
#AEC296
accent
#CE5A9A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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