#794EA5#794EA5

#794EA5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.138 H 304.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#794EA5
RGBrgb(121, 78, 165)
HSLhsl(270, 36%, 48%)
HSVhsv(270, 53%, 65%)
CMYKcmyk(26.7%, 52.7%, 0%, 35.3%)
CIE-LABlab(41.58, 35.71, -40.33)
CIE-LCHlch(41.58, 53.87, 311.52°)
OKLaboklab(51.13% 0.0789 -0.1134)
OKLCHoklch(51.13% 0.138 304.8)
XYZxyz(17.3996, 12.2304, 37.0341)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EA5 #7AA54E
analogous
#4E4FA5 #794EA5 #A44EA5
triadic
#794EA5 #A5794E #4EA579
tetradic
#794EA5 #A54E4F #7AA54E #4EA5A4
square
#794EA5 #A54E4F #7AA54E #4EA5A4
split-complementary
#794EA5 #A5A44E #4FA54E
monochromatic
#3C2752 #5B3A7B #794EA5 #9873BD #B69DD1

Accessibility & contrast

On white

6.09
#794EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794EA5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EA5#FFFFFF#000000##FFFFFF
##794EA51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#725E72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #794ea5;
/* rgb */ color: rgb(121, 78, 165);
/* oklch */ color: oklch(51.1% 0.138 304.8);
Tailwind
colors: {
  custom: {
    50: '#a281c0',
    500: '#794ea5',
    950: '#000000',
  },
}
SCSS
$custom: #794ea5;
$custom-light: #a281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#794ea5",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 269.655,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.1381,
    "h": 304.8
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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