#794E95#794E95

#794E95 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 50.2% C 0.118 H 310.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#794E95
RGBrgb(121, 78, 149)
HSLhsl(276, 31%, 45%)
HSVhsv(276, 48%, 58%)
CMYKcmyk(18.8%, 47.7%, 0%, 41.6%)
CIE-LABlab(40.71, 31.83, -32.13)
CIE-LCHlch(40.71, 45.23, 314.73°)
OKLaboklab(50.2% 0.077 -0.0895)
OKLCHoklch(50.2% 0.118 310.7)
XYZxyz(16.0334, 11.6839, 29.8385)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794E95 #6A954E
analogous
#554E95 #794E95 #954E8E
triadic
#794E95 #95794E #4E9579
tetradic
#794E95 #95554E #6A954E #4E8E95
square
#794E95 #95554E #6A954E #4E8E95
split-complementary
#794E95 #8E954E #4E9555
monochromatic
#382445 #58396D #794E95 #976DB3 #B496C8

Accessibility & contrast

On white

6.29
#794E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#794E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794E95
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794E95#FFFFFF#000000##FFFFFF
##794E951.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E98
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#76596A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #794e95;
/* rgb */ color: rgb(121, 78, 149);
/* oklch */ color: oklch(50.2% 0.118 310.7);
Tailwind
colors: {
  custom: {
    50: '#a181b4',
    500: '#794e95',
    950: '#000000',
  },
}
SCSS
$custom: #794e95;
$custom-light: #a181b4;
$custom-dark: #000000;
JSON
{
  "hex": "#794e95",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 276.338,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.11806,
    "h": 310.7
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#794E95
secondary
#9BB48A
accent
#C76089
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794E95

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

Preview Lab → · Contrast checker → · Palette generator →

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