#794696#794696

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

Color values

HEX#794696
RGBrgb(121, 70, 150)
HSLhsl(278, 36%, 43%)
HSVhsv(278, 53%, 59%)
CMYKcmyk(19.3%, 53.3%, 0%, 41.2%)
CIE-LABlab(38.98, 36.65, -35.47)
CIE-LCHlch(38.98, 51.00, 315.94°)
OKLaboklab(48.93% 0.0889 -0.0991)
OKLCHoklch(48.93% 0.133 311.9)
XYZxyz(15.5794, 10.6476, 30.0827)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794696 #639646
analogous
#514696 #794696 #96468B
triadic
#794696 #967946 #469679
tetradic
#794696 #965146 #639646 #468B96
square
#794696 #965146 #639646 #468B96
split-complementary
#794696 #8B9646 #469651
monochromatic
#361F43 #57336C #794696 #9863B6 #B48DCA

Accessibility & contrast

On white

6.71
#794696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#794696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794696
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794696#FFFFFF#000000##FFFFFF
##7946961.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#765367
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794696;
/* rgb */ color: rgb(121, 70, 150);
/* oklch */ color: oklch(48.9% 0.133 311.9);
Tailwind
colors: {
  custom: {
    50: '#a27bb5',
    500: '#794696',
    950: '#000000',
  },
}
SCSS
$custom: #794696;
$custom-light: #a27bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#794696",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 278.25,
    "s": 36.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.13313,
    "h": 311.9
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#794696
secondary
#95B583
accent
#CC5B84
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794696

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

Preview Lab → · Contrast checker → · Palette generator →

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