#794599#794599

#794599 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.138 H 310.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#794599
RGBrgb(121, 69, 153)
HSLhsl(277, 38%, 44%)
HSVhsv(277, 55%, 60%)
CMYKcmyk(20.9%, 54.9%, 0%, 40%)
CIE-LABlab(38.94, 37.91, -37.35)
CIE-LCHlch(38.94, 53.22, 315.43°)
OKLaboklab(48.95% 0.0905 -0.1046)
OKLCHoklch(48.95% 0.138 310.9)
XYZxyz(15.7620, 10.6214, 31.3506)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794599 #659945
analogous
#4F4599 #794599 #99458F
triadic
#794599 #997945 #459979
tetradic
#794599 #994F45 #659945 #458F99
square
#794599 #994F45 #659945 #458F99
split-complementary
#794599 #8F9945 #45994F
monochromatic
#361F45 #58326F #794599 #9863B9 #B48DCC

Accessibility & contrast

On white

6.72
#794599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#794599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794599
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794599#FFFFFF#000000##FFFFFF
##7945991.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#755368
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794599;
/* rgb */ color: rgb(121, 69, 153);
/* oklch */ color: oklch(49.0% 0.138 310.9);
Tailwind
colors: {
  custom: {
    50: '#a27bb7',
    500: '#794599',
    950: '#000000',
  },
}
SCSS
$custom: #794599;
$custom-light: #a27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#794599",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 277.143,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.13835,
    "h": 310.9
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#794599
secondary
#97B783
accent
#CE5A86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794599

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

Preview Lab → · Contrast checker → · Palette generator →

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