#794899#794899

#794899 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.133 H 310.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#794899
RGBrgb(121, 72, 153)
HSLhsl(276, 36%, 44%)
HSVhsv(276, 53%, 60%)
CMYKcmyk(20.9%, 52.9%, 0%, 40%)
CIE-LABlab(39.58, 36.23, -36.33)
CIE-LCHlch(39.58, 51.30, 314.92°)
OKLaboklab(49.43% 0.0863 -0.1016)
OKLCHoklch(49.43% 0.133 310.3)
XYZxyz(15.9512, 10.9999, 31.4137)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794899 #689948
analogous
#514899 #794899 #994891
triadic
#794899 #997948 #489979
tetradic
#794899 #995148 #689948 #489199
square
#794899 #995148 #689948 #489199
split-complementary
#794899 #919948 #489951
monochromatic
#372146 #58346F #794899 #9867B7 #B490CB

Accessibility & contrast

On white

6.56
#794899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#794899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794899
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794899#FFFFFF#000000##FFFFFF
##7948991.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#755669
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #794899;
/* rgb */ color: rgb(121, 72, 153);
/* oklch */ color: oklch(49.4% 0.133 310.3);
Tailwind
colors: {
  custom: {
    50: '#a27db7',
    500: '#794899',
    950: '#000000',
  },
}
SCSS
$custom: #794899;
$custom-light: #a27db7;
$custom-dark: #000000;
JSON
{
  "hex": "#794899",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 276.296,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.13333,
    "h": 310.3
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#794899
secondary
#99B786
accent
#CC5C88
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #794899

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

Preview Lab → · Contrast checker → · Palette generator →

#794899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva