#794FAE#794FAE

#794FAE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.148 H 301.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#794FAE
RGBrgb(121, 79, 174)
HSLhsl(267, 38%, 50%)
HSVhsv(267, 55%, 68%)
CMYKcmyk(30.5%, 54.6%, 0%, 31.8%)
CIE-LABlab(42.33, 37.41, -44.47)
CIE-LCHlch(42.33, 58.11, 310.07°)
OKLaboklab(51.85% 0.0781 -0.1255)
OKLCHoklch(51.85% 0.148 301.9)
XYZxyz(18.3194, 12.7129, 41.5249)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FAE #84AE4F
analogous
#4F55AE #794FAE #A84FAE
triadic
#794FAE #AE794F #4FAE79
tetradic
#794FAE #AE4F55 #84AE4F #4FAEA8
square
#794FAE #AE4F55 #84AE4F #4FAEA8
split-complementary
#794FAE #AEA84F #55AE4F
monochromatic
#3E295A #5C3C84 #794FAE #9978C2 #B9A2D5

Accessibility & contrast

On white

5.93
#794FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#794FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FAE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FAE#FFFFFF#000000##FFFFFF
##794FAE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#6F6177
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #794fae;
/* rgb */ color: rgb(121, 79, 174);
/* oklch */ color: oklch(51.8% 0.148 301.9);
Tailwind
colors: {
  custom: {
    50: '#a382c7',
    500: '#794fae',
    950: '#000000',
  },
}
SCSS
$custom: #794fae;
$custom-light: #a382c7;
$custom-dark: #000000;
JSON
{
  "hex": "#794fae",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 266.526,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.14779,
    "h": 301.9
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#794FAE
secondary
#AFC297
accent
#CE5A9B
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #794FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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