#794598#794598

#794598 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.9% C 0.137 H 311.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#794598
RGBrgb(121, 69, 152)
HSLhsl(278, 38%, 43%)
HSVhsv(278, 55%, 60%)
CMYKcmyk(20.4%, 54.6%, 0%, 40.4%)
CIE-LABlab(38.88, 37.68, -36.84)
CIE-LCHlch(38.88, 52.69, 315.65°)
OKLaboklab(48.89% 0.0905 -0.1031)
OKLCHoklch(48.89% 0.137 311.3)
XYZxyz(15.6797, 10.5885, 30.9175)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794598 #649845
analogous
#4F4598 #794598 #98458D
triadic
#794598 #987945 #459879
tetradic
#794598 #984F45 #649845 #458D98
square
#794598 #984F45 #649845 #458D98
split-complementary
#794598 #8D9845 #45984F
monochromatic
#361F44 #57326E #794598 #9862B8 #B48CCB

Accessibility & contrast

On white

6.74
#794598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #794598
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794598#FFFFFF#000000##FFFFFF
##7945981.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794598;
/* rgb */ color: rgb(121, 69, 152);
/* oklch */ color: oklch(48.9% 0.137 311.3);
Tailwind
colors: {
  custom: {
    50: '#a27bb7',
    500: '#794598',
    950: '#000000',
  },
}
SCSS
$custom: #794598;
$custom-light: #a27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#794598",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 277.59,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.13718,
    "h": 311.3
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#794598
secondary
#96B682
accent
#CE5A85
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794598

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

Preview Lab → · Contrast checker → · Palette generator →

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