#794698#794698

#794698 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.136 H 311.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#794698
RGBrgb(121, 70, 152)
HSLhsl(277, 37%, 44%)
HSVhsv(277, 54%, 60%)
CMYKcmyk(20.4%, 53.9%, 0%, 40.4%)
CIE-LABlab(39.09, 37.12, -36.50)
CIE-LCHlch(39.09, 52.06, 315.48°)
OKLaboklab(49.05% 0.0891 -0.1021)
OKLCHoklch(49.05% 0.136 311.1)
XYZxyz(15.7418, 10.7126, 30.9381)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794698 #659846
analogous
#504698 #794698 #98468E
triadic
#794698 #987946 #469879
tetradic
#794698 #985046 #659846 #468E98
square
#794698 #985046 #659846 #468E98
split-complementary
#794698 #8E9846 #469850
monochromatic
#361F44 #58336E #794698 #9864B7 #B48ECB

Accessibility & contrast

On white

6.68
#794698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#794698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794698
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794698#FFFFFF#000000##FFFFFF
##7946981.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#755468
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794698;
/* rgb */ color: rgb(121, 70, 152);
/* oklch */ color: oklch(49.0% 0.136 311.1);
Tailwind
colors: {
  custom: {
    50: '#a27bb7',
    500: '#794698',
    950: '#000000',
  },
}
SCSS
$custom: #794698;
$custom-light: #a27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#794698",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 277.317,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49048,
    "c": 0.1355,
    "h": 311.1
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#794698
secondary
#97B684
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #794698

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

Preview Lab → · Contrast checker → · Palette generator →

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