#794B95#794B95

#794B95 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.123 H 311.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#794B95
RGBrgb(121, 75, 149)
HSLhsl(277, 33%, 44%)
HSVhsv(277, 50%, 58%)
CMYKcmyk(18.8%, 49.7%, 0%, 41.6%)
CIE-LABlab(40.03, 33.57, -33.21)
CIE-LCHlch(40.03, 47.22, 315.31°)
OKLaboklab(49.69% 0.0815 -0.0926)
OKLCHoklch(49.69% 0.123 311.3)
XYZxyz(15.8251, 11.2673, 29.7691)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794B95 #67954B
analogous
#544B95 #794B95 #954B8C
triadic
#794B95 #95794B #4B9579
tetradic
#794B95 #95544B #67954B #4B8C95
square
#794B95 #95544B #67954B #4B8C95
split-complementary
#794B95 #8C954B #4B9554
monochromatic
#372244 #58376C #794B95 #9869B4 #B492C8

Accessibility & contrast

On white

6.45
#794B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#794B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794B95
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794B95#FFFFFF#000000##FFFFFF
##794B951.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#765769
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #794b95;
/* rgb */ color: rgb(121, 75, 149);
/* oklch */ color: oklch(49.7% 0.123 311.3);
Tailwind
colors: {
  custom: {
    50: '#a17fb4',
    500: '#794b95',
    950: '#000000',
  },
}
SCSS
$custom: #794b95;
$custom-light: #a17fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#794b95",
  "rgb": {
    "r": 121,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 277.297,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.12334,
    "h": 311.3
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#794B95
secondary
#98B487
accent
#C95F87
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794B95

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

Preview Lab → · Contrast checker → · Palette generator →

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