#794EA6#794EA6

#794EA6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.139 H 304.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#794EA6
RGBrgb(121, 78, 166)
HSLhsl(269, 36%, 48%)
HSVhsv(269, 53%, 65%)
CMYKcmyk(27.1%, 53%, 0%, 34.9%)
CIE-LABlab(41.64, 35.96, -40.84)
CIE-LCHlch(41.64, 54.41, 311.37°)
OKLaboklab(51.19% 0.0789 -0.1148)
OKLCHoklch(51.19% 0.139 304.5)
XYZxyz(17.4910, 12.2670, 37.5153)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA6 #7BA64E
analogous
#4E4FA6 #794EA6 #A54EA6
triadic
#794EA6 #A6794E #4EA679
tetradic
#794EA6 #A64E4F #7BA64E #4EA6A5
square
#794EA6 #A64E4F #7BA64E #4EA6A5
split-complementary
#794EA6 #A6A54E #4FA64E
monochromatic
#3C2753 #5B3A7C #794EA6 #9874BE #B79DD1

Accessibility & contrast

On white

6.08
#794EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#794EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EA6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA6#FFFFFF#000000##FFFFFF
##794EA61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#715E72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ea6;
/* rgb */ color: rgb(121, 78, 166);
/* oklch */ color: oklch(51.2% 0.139 304.5);
Tailwind
colors: {
  custom: {
    50: '#a281c1',
    500: '#794ea6',
    950: '#000000',
  },
}
SCSS
$custom: #794ea6;
$custom-light: #a281c1;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea6",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 269.318,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.13935,
    "h": 304.5
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#794EA6
secondary
#A8BE92
accent
#CC5C95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #794EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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